Yep, reading the documentation helps ;).
But here's how your code should look:
{% for art in my_art_list %}
{% cycle '' '' '' %}
{% cylce '' '' '' %}
{% empty %}
You
On 6 jan, 02:00, "django_fo...@codechimp.net"
wrote:
(snip)
> First, let me take some Motrin for my very sore rear end. I have been
> reading documentation. In fact, I started with the tutorials on the
> site that walks you through writing the polling application, then
> moved on to some doc
On Jan 5, 5:39 pm, "django_fo...@codechimp.net"
wrote:
> I have a pretty simple template that needs to print some data in a
> bunch of table rows. I have done something like this:
>
>
> {% if my_art_list %}
> {% count = 0 %}
> {% for art in my_art_list %}
> {% if
On Jan 5, 5:56 pm, bruno desthuilliers
wrote:
> On 5 jan, 23:39, "django_fo...@codechimp.net"
> wrote:
>
> > I have a pretty simple template that needs to print some data in a
> > bunch of table rows. I have done something like this:
>
> >
> > {% if my_art_list %}
> > {% count = 0 %}
On 5 jan, 23:39, "django_fo...@codechimp.net"
wrote:
> I have a pretty simple template that needs to print some data in a
> bunch of table rows. I have done something like this:
>
>
> {% if my_art_list %}
> {% count = 0 %}
This just won't work
> {% for art in my_art_list %}
>
5 matches
Mail list logo