#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                                        |            
Component:  Admin interface
    Version:  SVN                                        |           
Resolution:                 
   Keywords:                                             |                
Stage:  Accepted       
  Has_patch:  1                                          |           
Needs_docs:  0              
Needs_tests:  0                                          |   
Needs_better_patch:  0              
---------------------------------------------------------+------------------
Comment (by anonymous):

 The same thing is done in the {{{get_choices()}}} method in
 {{{/django/db/models/fields/__init__.py}}}, ideally we would reuse this,
 but because I don't want to rewrite a function I don't completely
 understand, I have just copied the approach taken in get_choices().

 The patch I just attached should work exactly the same way as
 {{{get_choices()}}}.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3096#comment:7>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to