answering myself:
it still works, but allow_empty has to be false when using generic
views.
patrick.
Am 17.05.2007 um 21:16 schrieb patrickk:
>
> before doing a django-update today, this has been working:
>
> {% for object in object_list|slice:"0::3" %}
> ... left column
>
> {% for object in object_list|slice:"1::3" %}
> ... middle column
>
> {% for object in object_list|slice:"2::3" %}
> ... right column
>
> now, I´m getting:
> Assertion Error: 'offset' is not allowed without 'limit'
>
> any reason why this has been working and isn´t anymore?
>
> thanks,
> patrick
>
>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---