Does anyone know of an elegant way in Django to group database items under 2 categories.
For example I have a database model that contains the following information: State Committee_Type Committee When I send it out to the template, I need to be able to group each committee under its type and state so that it looks something like this: State 1: Committee_Type1: Committee1 Committee2 Committee_Type2: Committee1 Committee2 State 2: Committee_Type1: Committee1 Committee2 Committee_Type2: Committee1 Committee2 etc... I looked at the regroup tag but I can only get it to group the items by a single category, any help would be appreciated. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---