django-pagination

Django pagination and object list show 404 page

Hi guys, i would like to paginate my object list, im tring to use django-pagination, but is showing a 404 page no found when i try to navigate. ulr.py categoria_info = { 'queryset':Categoria.objects.all(), } urlpatterns = patterns('', url(r'^$', object_list, ...

django-pagination user selected records per page

I've implemented django-pagination in my app to take care of pagination, and it's all good. The one thing I can't figure out is how to allow users to choose a certain value for the records per page e.g. 15, 30, 45, 60, 100 or all records. What's the correct way to go about this? ...

Django pagination | get current index of paginated item in page index, (not the page index range itself)

I am trying to build a photo gallery with Django. It is set up by category. I have paginated the results of a category by n amount of images per page. I want to also use the paginator on the page that shows just the single image and have a prev/next button for the prev/next image in that category. My thought was to get the current i...

In Django-pagination Paginate does not working...

Hello. Python 2.6.2 django-pagination 1.0.5 Question: How to force pagination work correctly? The problem is that {% paginate %} does not work, but other {% load pagination_tags %} and {% autopaginate object_list 10 %} works! Error message appeared, when I add {% paginate %} into html page: TemplateSyntaxError at /logging Caught an...

Object not iterable with django's pagination

I have a template showing a list of events. To prepare list of events I'm using generic views, and set 'paginate_by' parameter. Strangely when I load my page I see : TemplateSyntaxError at /event/latest/ Caught an exception while rendering: 'int' object is not iterable in 9th line of pagination.html template : {% if is_paginated %} {...

django generic view pagination by item id (not page number)

I love the ease of django's pagination system, but is there anyway to tweak it where it's paginating by item id instead of page number? Because I am ordering in descending order, if there is an update on a page while a user is going through the pages, the ordering is off. For instance, if each page had 3 items Item #1 Item #2 Item #3 ...

anyone know how to NOT slice the Queryset with the Django Pagination object?

My django-sorting results are pathetic. Won't sort the data in the entire Queryset because djangos pagination model slices it. Any know a way around this? More details: http://code.google.com/p/django-pagination/issues/detail?id=37 ...