> - in the view just get all the books, ordered by author
> - in the template iterate over the books, with an {% ifchanged
> book.author %} to display the author name

thanks Javier, I will try the 'ifchanged' template tag
(http://docs.djangoproject.com/en/dev/ref/templates/builtins/#ifchanged).

dimitri
>
>
>
> --
> Javier
>
> >
>



-- 
---
You can't have everything. Where would you put it? -- Steven Wright
---
please visit www.serpia.org

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

Reply via email to