Create a 20-elemnt list inside your view and set it as a context
variable?
On Jul 3, 10:21 am, antony_h <[EMAIL PROTECTED]> wrote:
> How could I repeat my <div> 20 times?
> I've found how I can repeat it 5 times:
> {% for a in 12345|make_list %}
> <div>
> {% endfor %}
> But it's not so great for e.g. a hundred
> Usage: my designer wants to test his layout and I don't want to create
> a custom tag for such a simple task
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---