Thursday, October 28, 2010

Re: How to aggregate values by month

2010/10/28 Rogério Carrasqueira <rogerio.carrasqueira@gmail.com>:
> Thanks for you answer. Unfortunatelly I need to output my results on a JSON
> file. Do you have any other approach?

if the {% regroup %} is what you need, you should know that it's an
application of itertools.groupby()

--
Javier

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment