#3400: [patch] Support for lookup separator with list_filter admin option -------------------------------------------+-------------------------------- Reporter: n...@intv.com.au | Owner: jakub_vysoky Status: new | Milestone: 1.2 Component: django.contrib.admin | Version: newforms-admin Resolution: | Keywords: edc nfa-someday list_filter FilterSpec nfa-changelist ep2008 Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 1 Needs_better_patch: 1 | -------------------------------------------+-------------------------------- Comment (by bendavis78):
Patch currently does not work with reverse relationships. For example: {{{ #!python class Target(models.Model): name = CharField(max_length=200) class Survey(models.Model): target = models.OneToOneField(Target) source = models.ForeignKey(SurveySource) class TargetAdmin(admin.ModelAdmin): list_filter = ['survey__source'] }}} My hunch is that this only breaks in the validation code -- I'm investigating right now if that will fix it. The only question is how to correctly traverse reverse relationships using ._meta -- Ticket URL: <http://code.djangoproject.com/ticket/3400#comment:37> Django <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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---