Hi, On admin change list, I want to group objects based on a foreign key. Is there a way to generate a hierarchy based on foreign/m2m key instead of date?
Consider the following example- class Book(models.Model): # ... publisher = models.ForeignKey(Publisher) On Book's admin page, I want the books to be arranged by their publishers. This may be helpful when I have a large number of books in the database. How can one do this, preferably in a generic way? Thanks, Ram --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---