#3096: Filtering choices in admin list view don't respond to limit_choices_to
parameter
----------------------------------------------------------------+-----------
Reporter: Archatas (aidas.bendoraitis at gmail.com) |
Owner: nobody
Status: new |
Milestone:
Component: Admin interface |
Version: newforms-admin
Resolution: |
Keywords: nfa-someday yandex-sprint
Stage: Accepted |
Has_patch: 1
Needs_docs: 0 |
Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------------------------------+-----------
Changes (by Ivan Sagalaev <[EMAIL PROTECTED]>):
* keywords: nfa-someday => nfa-someday yandex-sprint
* needs_better_patch: 1 => 0
Comment:
As suggested by comment:7 new patch uses field's get_choices to construct
a list of (id, title) pairs. Though a bit bigger (3 lines instead of 1)
this looks cleaner to me.
--
Ticket URL: <http://code.djangoproject.com/ticket/3096#comment:13>
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
-~----------~----~----~----~------~----~------~--~---