On Thu, Jul 3, 2008 at 10:21 AM, antony_h <[EMAIL PROTECTED]> wrote:
>
> How could I repeat my 20 times?
> I've found how I can repeat it 5 times:
> {% for a in 12345|make_list %}
>
> {% endfor %}
> But it's not so great for e.g. a hundred
> Usage: my designer wants to test his layout and I don'
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?
>
>
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 20 times?
> I've found how I can repeat it 5 times:
> {% for a in 12345|make_list %}
>
> {% endfor %}
> But it's not so great for e.g. a hun
How could I repeat my 20 times?
I've found how I can repeat it 5 times:
{% for a in 12345|make_list %}
{% 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
--~--~-~--~~---
How could I repeat my 20 times?
I've found how I can repeat it 5 times:
{% for a in 12345|make_list %}
{% 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
--~--~-~--~~---
How could I repeat my 20 times?
I've found how I can repeat it 5 times:
{% for a in 12345|make_list %}
{% 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
--~--~-~--~~---
6 matches
Mail list logo