Regroup generates a list of dicts with two keys - grouper (the value
of the field you're grouping by) and list (the list of objects that
match that)

So in this case, you get entries like {'grouper': <User: John Smith>,
'list': [<Poem: Roses are red>, <Poem: Violets are blue>, ...]}  :)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to