Closed ScottEvansDBCA closed 5 years ago
Just upgrading a project to Django 2.1 and found an error. 2.1 removes urls inline flags in the encode: url()’s support for inline flags in regular expression groups ((?i), (?L), (?m), (?s), and (?u)) is removed.
bootstrap_pagination.py line 85 url += '?' + url_get_params.urlencode() calls to django/http/request.py and gives an error: "'int' object has no attribute encode". Have commented this out and the page loads but obviously pagination no longer works.
fixed in this fork: https://github.com/myasui/django-bootstrap-pagination
I've cherry-picked. Will be in the next release.
Just upgrading a project to Django 2.1 and found an error. 2.1 removes urls inline flags in the encode: url()’s support for inline flags in regular expression groups ((?i), (?L), (?m), (?s), and (?u)) is removed.
bootstrap_pagination.py line 85 url += '?' + url_get_params.urlencode() calls to django/http/request.py and gives an error: "'int' object has no attribute encode". Have commented this out and the page loads but obviously pagination no longer works.