Django template tag basic question
- by ninja123
It looks like this template tag works like a charm for most people:
http://blog.localkinegrinds.com/2007/09/06/digg-style-pagination-in-django/
For some reason I get this error: Caught an exception while rendering: 'is_paginated'
I use this template tag in my template like so:
{% load digg_paginator %}
{% digg_paginator %}
Where digg_paginator.py is in my app/templatetags folder and the included template context digg_paginator.html is in my app/templates folder. The queryset that needs pagination is called 'destinations'. If i just specify {% digg_paginator %}, how does it know what variable to paginate?? I feel I am missing something important here or just plain stupid :P
Someone please help, or explain to me how this should be done. Thanks