Hi,

I am trying to output upcoming events in the following format

*June 2012*
12th - Event 1
15th - Event 2

*July 2012*
1st - Event 3

*August 2012*
20th - Event 4

My model is very simple with just a title and dateTime field. I am unsure 
how i could output the months followed by the events in the style above. I 
guess nested loops would be necessary but would i need a separate loop for 
each month output ?

Thanks for any tips.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/RHAvjD4cKqUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to