#3400: [patch] Support for lookup separator with list_filter admin option
-----------------------------------------------------+----------------------
   Reporter:  [EMAIL PROTECTED]                       |                Owner:  
nobody         
     Status:  new                                    |            Component:  
Admin interface
    Version:  newforms-admin                         |           Resolution:    
             
   Keywords:  list_filter newforms-admin FilterSpec  |                Stage:  
Accepted       
  Has_patch:  1                                      |           Needs_docs:  0 
             
Needs_tests:  0                                      |   Needs_better_patch:  1 
             
-----------------------------------------------------+----------------------
Changes (by Honza_Kral):

  * keywords:  list_filter => list_filter newforms-admin FilterSpec
  * version:  SVN => newforms-admin

Comment:

 I attached an alternative patch for newforms-admin branch... It can deal
 with {{{__}}} paths not just for {{{RelatedField}}}s but for any fields.
 It will traverse the path, return the last field in the chain and supply
 additional parameter {{{field_path}}} that is used for filtering the
 results.

 With this you can filter for example by a {{{DateField}}} stored on a
 related model.

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