On Thu, Jul 9, 2009 at 4:49 PM, Wiiboy <[email protected]> wrote:
>
> The columns are actually categories. The left column is sports, etc.
> So I can't make it a grid like that.
>
> I don't quite see how the paginator helps.
> >
>
Why not just make it a list of tuples, so
[('left', [list_of_left cats]), ('right', [list_f_right_cats]), ('center',
[list_of_center_cats])
{% for side, articles in list %}
{{ side }}
{% for item in list %}
{{ item }}
{% endfor %}
{% endfor %}
--
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---