#5970: ChangeList.get_query_set() method ignores specified by model's admin
manager QuerySet for search_fields lookup
---------------------------------------------+------------------------------
          Reporter:  Nazar <911...@mail.ru>  |         Owner:  nobody       
            Status:  new                     |     Milestone:               
         Component:  django.contrib.admin    |       Version:  SVN          
        Resolution:                          |      Keywords:  search_fields
             Stage:  Design decision needed  |     Has_patch:  1            
        Needs_docs:  0                       |   Needs_tests:  0            
Needs_better_patch:  1                       |  
---------------------------------------------+------------------------------
Changes (by gregoire):

 * cc: grego...@audacy.fr (added)
  * needs_better_patch:  0 => 1

Comment:

 I have the same problem in the current SVN.

 I use the patch admin_search_queryset.patch, but it needs to clone the
 QuerySet using the private method _clone() because of the
 dup_select_related() call, which is not very clean.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5970#comment:2>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to