I believe you're looking for the {% cycle %} template tag, which you can find more information about here:
http://docs.djangoproject.com/en/dev/ref/templates/builtins/#cycle {% cycle '' '<br />' %} -justin On Wed, Mar 25, 2009 at 6:15 AM, nicemira <amira...@gmail.com> wrote: > > please friends, > how can I paginate my product with this method: I want to do a newline > after every two products > please,answer me as soon as possible > > > > -- Justin Lilly Python/Django Developer http://justinlilly.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---