#3400: [patch] Support for lookup separator with list_filter admin option
-------------------------------------------+--------------------------------
          Reporter:  [EMAIL PROTECTED]      |         Owner:  nobody            
                                      
            Status:  new                   |     Milestone:                     
                                     
         Component:  django.contrib.admin  |       Version:  newforms-admin     
                                     
        Resolution:                        |      Keywords:  nfa-someday 
list_filter FilterSpec nfa-changelist ep2008
             Stage:  Accepted              |     Has_patch:  1                  
                                     
        Needs_docs:  0                     |   Needs_tests:  0                  
                                     
Needs_better_patch:  1                     |  
-------------------------------------------+--------------------------------
Changes (by cornbread):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 This needs a sort_by option as well:


 {{{
 class Town(models.Model):
     name = models.CharField()

 class House(models.Model):
     town = models.ForeignKey(Town)

 class Room(models.Model):
     house = models.ForeignKey(House)

 class Booking(models.Model):
     room = models.ForeignKey(Room, raw_id_admin=True)

     class Admin:
         sort_by = ('room__house__town',)

 }}}

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