#15104: Django 1.2.4 removes support for lookups that span relationships in limit_choices_to ---------------------------+------------------------------------------------ Reporter: natrius | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ Django 1.2.4 requires fields listed in `limit_choices_to` to be present in `list_filters`, but the latter doesn't support lookups that span relationships. A `FieldDoesNotExist` exception is raised by `db.models.Options.get_field` when the admin is trying to display the filter in the sidebar of the list view in `admin.views.main.ChangeList.get_filters`.
-- Ticket URL: <http://code.djangoproject.com/ticket/15104> 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 [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.
