If you only need to repeat a div-tag 20 times, and don't need any data from
any model, you could always do it with javascript.

Oscar

On Fri, Jul 4, 2008 at 6:07 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> 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 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to