Re: Can't get pagination to work in django.!!!

2012-02-28 Thread Tony Kyriakides
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 %} > >

Re: Can't get pagination to work in django.!!!

2012-02-28 Thread Tom Evans
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

Re: Can't get pagination to work in django.!!!

2012-02-28 Thread Tony Kyriakides
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

Re: Can't get pagination to work in django.!!!

2012-02-28 Thread Tom Evans
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  

Can't get pagination to work in django.!!!

2012-02-28 Thread Tony Kyriakides
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