Hi,

Is there a way to split a list using the built-in tags and filters?
What I want is to take an object list from a generic view and iterate
over the first and second halfs separetely. e.g.

{% for object in object_list|firsthalf %}
...
{% endfor %}

{% for object in object_list|secondhalf %}
...
{% endfor %}

Of course it doesn't necesserily have to be halfs, could be thirds,
quarters, etc.

Cheers,
James.


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

Reply via email to