#15103: Django 1.2.4 breaks limit_choices_to for raw_id_fields ---------------------------+------------------------------------------------ Reporter: natrius | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ The security patch in Django 1.2.4 assumes that all the fields that should be filtered on have been chosen to display as filters in the sidebar of the list view for the model in the admin. However, filters can also result from using `limit_choices_to` on a field that is displayed as a `raw_id_field`. If any fields are present in `limit_choices_to` that aren't in `list_filters`, the admin will 500 on a `SuspiciousOperation` exception any time a user tries to open the window to select an item.
-- Ticket URL: <http://code.djangoproject.com/ticket/15103> 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.
