admin interface, search fields for many-to-many relationships

2007-09-13 Thread Alice
I'm running into trouble using the admin interface's search feature, probably due to the default way that tables are being joined. I have an Actor and a Group, and a many-to-many relationship between them. (So Actors can be in multiple Groups, and Groups can have multiple Actors). For the Group ob

Australian hosting, CGI questions

2005-09-25 Thread Alice
: is it possible to run Django with CGI yet? If so, is there any documentation ? Failing all that, and this host cannot be used, has anyone any experience with Australian hosts that provide mod_python and SSH? thanks for any help, Alice

Re: Australian hosting, CGI questions

2005-09-25 Thread Alice
"Well mod python does require unique configuration just as mod perl does. Which is probably his argument." ah - I was a bit leery of his argument, but I come from a jsp/php type background, not mod_python, CGI and am thus pretty clueless atm. unfortunately it does have to be Australia - but I ch

Re: Australian hosting, CGI questions

2005-09-25 Thread Alice
Is there any documentation to be found for running Django under FastCGI? Alice

boring __repr__ - any help?

2005-10-01 Thread Alice
hello, Is there a way to return an attribute of a related class? ie: return self.choice.someattr class Answer(meta.Model): user = meta.ForeignKey(User) question = meta.ForeignKey(Question) choice = meta.ForeignKey(Choice) def __repr__(self): retu

Re: boring __repr__ - any help?

2005-10-01 Thread Alice
def __repr__(self): return self.get_choice() that gives me a bunch of these errors TypeError: __str__ returned non-string (type Choice) even though the __repr__ of choice returns a string (CharField). however: def __repr__(self): return self.get_choice().choice works a treat.

composite keys - possible? desirable?

2005-10-01 Thread Alice
;driver", "restaurant"),) ... and I don't think this is a db-level solution .. Any help would be appreciated Alice

More Installation/Deployment Linkage

2005-10-12 Thread Alice
angements They both seem to deal with similar issues ... perhaps if the wiki got some more coverage, those with war stories could help flesh it out some. Alice

templates with multiple repeating blocks

2005-10-14 Thread Alice
7; appears more than once" apart from infinite recusion scenarios (which can be protected against), how possible would it be to have repeated blocks? Is it practical? Alice

Re: templates with multiple repeating blocks

2005-10-14 Thread Alice
this? Alice

redirecting subdomain requests

2005-10-16 Thread Alice
ename' or is this better suited to mod_rewrite? (something else I've put off learning about) thanks in advance Alice

Re: redirecting subdomain requests

2005-10-16 Thread Alice
l A decent introductory guide: http://www.sitepoint.com/article/guide-url-rewriting Alice

User Documentation

2005-10-17 Thread Alice
nt in the code, etc, would they be willing to write something and stick it in the wiki? I'd rather not have to re-invent user management especially if it already exists. Any help here? Alice

template meta data

2005-10-22 Thread Alice
ould be in the context object if anywhere - but being relatively new to python I have no clue how to see the insides. If there isn't, is it be feasible to write a template extension that does this automatically for each template? Alice

flatpages and templates

2005-10-31 Thread Alice
ile? I get hung up on these things - currently I'm just including a page desciption in the 'content' box (because it won't actually appear in a template without extending a block). Alice

Django mod_python and pgsql

2005-11-09 Thread Alice
I'm trying to get my project working under mod_python but I'm getting the error: OperationalError: FATAL: IDENT authentication failed for user "alice" when attempting to access http://localhost/mysite/ This is a postgresql error when trying to access the database as someon

Re: Django mod_python and pgsql

2005-11-09 Thread Alice
however, postgres is still behaving the same ... I think this is all because of something else. I'll post here again If I get it working. Alice

Re: Django mod_python and pgsql

2005-11-09 Thread Alice
umbles upon this problem: http://www.postgresql.org/docs/7.3/static/client-authentication.html The Postgres docs are pretty damn thorough Alice

replicated funcitonality

2005-11-13 Thread Alice
her and then be queried? Thanks, Alice

mod_python, MEDIA_*, frustration

2005-11-16 Thread Alice
ture is below dirs: # project root /home/alice/.../pass1/ # template root /home/alice/.../django_templates/pass1/ # contains symlink to admin media and project templates /home/alice/.../media/ admin_media ->/home/alice/.../django/django_src/django/contrib/admin/media/ /home/alic

Re: mod_python, MEDIA_*, frustration

2005-11-16 Thread Alice
a mixture of permissions. poll_base was 600 - didnt even have user execute. it's always the most mundane problems... thanks for the help. Alice

registration/login or admin/login?

2005-12-27 Thread Alice
ese views and templates into my own project and modify them there? That goes against DRY though and feels ... icky. Solutions/suggestions anyone? I intend to write some glue tutorials that bring together the relevant bits of the authentication and session docs, so if anyone has anything they think needs addressing - post it! Alice

Re: registration/login or admin/login?

2005-12-27 Thread Alice
yes, and that doesn't contain anything on using the existing templates and views - if they should be used at all. Alice

Generic views and the User object

2005-12-29 Thread Alice
subject = meta.CharField(maxlength=30) entry = meta.TextField(blank=True) ... Is anything the problem or have I missed a caveat somewhere? Alice

Re: Generic views and the User object

2005-12-29 Thread Alice
works like a charm, thanks. Alice

Extra auth.User fields

2006-01-03 Thread Alice
teps, but it seems really unwieldy. Has the situation improved since then? Alice

DB Field metadata

2006-01-03 Thread Alice
Is there a way of retrieving a database field's metadata? For example, the maxlength or choices parameters? It would be nice to automatically display the number of allowed characters for a given textfield. Alice

one-to-one design problem

2006-01-07 Thread Alice
uld check all specialized tables, which is clunky. Is this a common problem with a solution? Any help would be appreciated .. Alice

Re: one-to-one design problem

2006-01-07 Thread Alice
ly or performing a search across the multiple models ... ... or a model method like item_get_extras() that searches known specialization models for foreign keys ... hrm ~ no nice way of doing this it seems. Alice

Re: top-level model

2006-01-08 Thread Alice
/documentation/authentication/#id5 The documentation is still thin and patchy in a lot of places, but it should be treated as more of a reference to the code. Hope this helps some, Alice

Templates for Python Programmers error

2006-01-11 Thread Alice
oo': 'bar', }, [ip_address_processor]) shouldn't it be return DjangoContext(request, { 'foo': 'bar', }, [ip_address_processor]) ? This would make more sense. Alice

Django Jobs

2006-01-11 Thread Alice
I found this (http://www.jobserve.com/W2EAE51AB3A3157A6.job) a few days ago while job hunting, it's probably taken already (it was posted a week ago) - but it's interesting to see jobs appearing in Australia - if only Adelaide! alas, Alice

Passing template tags template variables

2006-01-14 Thread Alice
) problem would be welcome. Alice

Re: Passing template tags template variables

2006-01-14 Thread Alice
excellent - thanks. (it is very easy) ... Alice

extra context processors

2006-01-17 Thread Alice
Where would I put extra processors? in /myproject/processors.py ? Processors are global and not an app specific one ... so where are others putting theirs? Just after a bit of django etiquette... Alice

Re: extra context processors

2006-01-18 Thread Alice
I opted to writing a small bit of middleware in the end and adding the data I wanted into the request object itself to make it available all the time regardless of Context or DjangoContext. Less fiddly but probably not good practice. Luke Skibinski Holt

Django + React: State Management in React

2019-02-15 Thread Alice Heaton
r those of you who combined Django and React, what state management approach did you use (or are thinking of using) and why? Thanks :) Alice [*] I know, MTV. Also I know that MVC is considered a bad word in js frontend world. -- You received this message because you are subscribed to the Google Grou