jamespacileo/django-pure-pagination

ValueError with invalid GET parameter

Closed this issue · 1 comments

It seems if you provide invalid GET parameters to the app (ie. ?ä), it will fail with some kind of ValueError (ValueError: unsupported format character 'C' (0x43) at index 1). It seems "return self.base_queryset %page_number" at paginator.py is the offending line. I think the bug has something to with the way you deal with base_queryset (copy + page hackery). It would be great if you could look into this.

Fixed. Thanks for the pull request.