From cfb14ce2fe55045b2c6bd2440ae04f92cc7db131 Mon Sep 17 00:00:00 2001 From: Albert Tugushev Date: Fri, 1 Jan 2016 18:37:59 +0300 Subject: [PATCH] Remove unicode strings for python3 compatible --- linaro_django_pagination/templatetags/pagination_tags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linaro_django_pagination/templatetags/pagination_tags.py b/linaro_django_pagination/templatetags/pagination_tags.py index d6e121e..167f13a 100644 --- a/linaro_django_pagination/templatetags/pagination_tags.py +++ b/linaro_django_pagination/templatetags/pagination_tags.py @@ -174,7 +174,7 @@ class AutoPaginateNode(Node): 'False, an HTTP 404 page would have been shown instead.') context[key] = [] context['invalid_page'] = True - return u'' + return '' if self.context_var is not None: context[self.context_var] = page_obj.object_list else: @@ -182,7 +182,7 @@ class AutoPaginateNode(Node): context['paginator'] = paginator context['page_obj'] = page_obj context['page_suffix'] = page_suffix - return u'' + return '' class PaginateNode(Node): -- 2.20.1