X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/465ee0b4cfa68b5d7e1bd8c8752e69a0f6783215..1be598eb573f9ad234ba4ab8e467f07fd8351fa8:/fnpdjango/templatetags/fnp_prevnext.py diff --git a/fnpdjango/templatetags/fnp_prevnext.py b/fnpdjango/templatetags/fnp_prevnext.py index cb4efe2..a808e6e 100644 --- a/fnpdjango/templatetags/fnp_prevnext.py +++ b/fnpdjango/templatetags/fnp_prevnext.py @@ -1,11 +1,7 @@ from copy import copy +from urllib.parse import urlencode from django.template import Library -try: - from urllib.parse import urlencode -except ImportError: - from urllib import urlencode - register = Library()