Sorry tom! Thanks a lot mate you just made my day!
On Feb 28, 5:34 pm, Tom Evans wrote:
> Hi. Re-read what I said:
>
> > 24 {% for entry in entries %}
>
> ^^^
>
> > 25 {{ entry.title }}
> > {{ entry.posted }} {{ entry.submitter }}
> > 26 {% endfor %}
>
>
Hi. Re-read what I said:
> 24 {% for entry in entries %}
^^^
> 25 {{ entry.title }}
> {{ entry.posted }} {{ entry.submitter }}
> 26 {% endfor %}
Compare and contrast what you are doing with 'entries' in that for
loop and what the docs do with the equivale
hey tom its still not working :P it was easier for me to copy it from
the docs...i still get the same error
template:
Entries
{% for entry in entries %}
{{ entry.title }}
{{ entry.posted }} {{ entry.submitter }}
{% endfor %}
{% if entries.has_previous %}
previous
On Tue, Feb 28, 2012 at 2:45 PM, Tony Kyriakides
wrote:
> I get this error:
>
> Template error
>
> In template /home/tony/Documents/vidupdate/templates/index.html, error
> at line 24
>
> Caught TypeError while rendering: 'Page' object is not iterable
> 14 {% else %}
> 15 Register
> 16
I get this error:
Template error
In template /home/tony/Documents/vidupdate/templates/index.html, error
at line 24
Caught TypeError while rendering: 'Page' object is not iterable
14 {% else %}
15 Register
16 Login
17 {% endif %}
18 feedback
19 Contact
20
21
5 matches
Mail list logo