#5833: Custom FilterSpecs
-------------------------------------+-------------------------------------
               Reporter:             |        Owner:  jkocherhans
  Honza_Kral                         |       Status:  assigned
                   Type:  New        |    Component:  contrib.admin
  feature                            |     Severity:  Normal
              Milestone:             |     Keywords:  nfa-someday
                Version:  SVN        |  list_filter filterspec nfa-
             Resolution:             |  changelist ep2008
           Triage Stage:  Accepted   |    Has patch:  1
    Needs documentation:  0          |  Needs tests:  0
Patch needs improvement:  0          |
-------------------------------------+-------------------------------------

Comment (by julien):

 Karen, I have made a few changes in the latest patch. Now the
 `get_query_set()` method is only called when necessary (meaning there's no
 need to return the queryset unchanged by default). The actual queryset
 filtering is now also fully delegated from the `ChangeList` to the list
 filters themselves, which I think makes more sense and is more consistent
 between `FieldListFilter`'s and `ListFilter`'s behaviours. I think this
 should cover your use case.

 Could you take another look and let me know what you think? Many thanks!

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

Reply via email to