#7665: User change list filters disappear in newforms-admin if a model has a
OneToOneField to User
--------------------------------------+-------------------------------------
Reporter: AmanKow | Owner: nobody
Status: closed | Milestone:
Component: Admin interface | Version: newforms-admin
Resolution: duplicate | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by zobbo):
* status: new => closed
* resolution: => duplicate
Comment:
This is really a duplicate of #2145 I think. Model inheritance utilises
one to one relationships and currently the code doesn't allow filters to
work for those. Changing line 87 to just
{{{
if self.list_filter:
}}}
works for me currently.
--
Ticket URL: <http://code.djangoproject.com/ticket/7665#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---