Re: change list admin page

2006-11-15 Thread Picio
Please consider also that: using modelname._default_manager returns the name of the custom manager correctly so the manager is set well. 2006/11/16, doubtintom <[EMAIL PROTECTED]>: > > When a model contains (along with other fields): > owner = models.ForeignKey(User, related_name="owner", blank=T

Re: change list admin page

2006-11-15 Thread doubtintom
When a model contains (along with other fields): owner = models.ForeignKey(User, related_name="owner", blank=True, editable=False) class Admin: list_filter = ('owner',) pass Then the admin interface has a filter for records by owner with this url: http://localhost:8000/admin/

change list admin page

2006-11-15 Thread Picio
Hello, Is there anyone that achieved to customize/filter the query set listed in the Admin "change list" page? How do you do It? Picio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t