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

at the line "people = p.page(page)", i always has error 'int' object has no attribute 'encode' can somebody tell what's wrong?

Hi! I get this error when install from pip > $ pip install django-pure-pagination > Collecting django-pure-pagination > Using cached django-pure-pagination-0.3.0.tar.gz > Complete output from command python setup.py egg_info: >...

https://github.com/jamespacileo/django-pure-pagination in this page, "Usage example" ``` try: page = request.GET.get('page', 1) except PageNotAnInteger: page = 1 ``` It's not going to cause an anomaly here. I think this should...

File "xxx\views.py", line 25, in get all_article = p.page(page) AttributeError: 'int' object has no attribute 'encode' ``` try: page = request.GET.get('page', 1) except PageNotAnInteger: page = 1 p = Paginator(all_article,...

This fixes the querystring encoding error `AttributeError: 'int' object has no attribute 'encode'`, by converting the page number to string before applying the encoding function.

Paginator constructor in the readme file needs to be updated

I think me don't understand your custom object that I can't through ajax to make pagination footer bottom. Can you make a demo of though ajax request pagination?

## But when it works on the server, it comes up with this def fen(request,contact_list): try: page = request.GET.get('page', 1) except PageNotAnInteger: page = 1 p = Paginator(contact_list, 30) contact_list...

For this error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 672: ordinal not in range(128)