Django 1.2.4 removes support for lookups that span relationships in limit_choices_to
|Reported by:||natrius||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.