django-pure-pagination icon indicating copy to clipboard operation
django-pure-pagination copied to clipboard

Django pagination based upon the core pagination module

Results 48 django-pure-pagination issues
Sort by recently updated
recently updated
newest added

I have added a new optional template argument. So you can specify a different template for pagination rendering. For example: ``` p = Paginator(queryset, 40, request=request) paginated = p.page(page, template='pure_pagination/twitter_bootstrap.html')...

Hi :) Please, fix readme: ``` def index(request): objects = ['john', 'edward', 'josh', 'frank'] p = Paginator(objects, request=request) try: people = p.page(request.GET.get('page', 1)) except (EmptyPage, PageNotAnInteger): raise Http404 return render_to_response('index.html',...

For unicode GET values

unless you had a good reason to copy all core.paginator.Paginator and Page code

Design considerations

I replace pure_pagination.paginator.InvalidPage to django.core.paginator.InvalidPage because django.views.generic.MultipleObjectMixin needs django.core.paginator.InvalidPage exception for render 404 page, when user use invalid page number.

To have a clean view from the final user, I added this to have a 404 error page if the page number does not exist instead of a 500 for...

Currently, the `page` parameter produces conflicts when you have multiple pagination objects on the same page. This patch provides an extra keyword argument to the Page object initialization and the...