Open GoogleCodeExporter opened 8 years ago
ufff... sorry for the issue, I've solve the problem.
If you look at AutoPaginateNode doc in source code
http://code.google.com/p/django-pagination/source/browse/trunk/pagination/templa
tetags/pagination_tags.py#55
you see that you need paginator and page_obj
in the view:
...
paginator = Paginator(something_list, 10)
page = paginator.page(page)
...
...
#passing it to the template
'paginator' : paginator,
'page_obj' : page,
in template:
{% load pagination_tags %}
...
{% paginate %}
autopaginate is not necesary (You have done it in the view)
Thanks for this great proyect.
Original comment by jfo...@gmail.com
on 10 Jan 2012 at 10:36
Original issue reported on code.google.com by
jfo...@gmail.com
on 10 Jan 2012 at 10:11