From 28fac547f6c8639b4c4edd66c895dacc7dff030e Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 22 Feb 2013 13:34:29 +0100 Subject: [PATCH] minor fix --- fnpdjango/templatetags/fnp_prevnext.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/fnpdjango/templatetags/fnp_prevnext.py b/fnpdjango/templatetags/fnp_prevnext.py index 294cd12..17c8188 100644 --- a/fnpdjango/templatetags/fnp_prevnext.py +++ b/fnpdjango/templatetags/fnp_prevnext.py @@ -11,7 +11,6 @@ def previous_page(context, fallback=None, fallback_title=None): if current > 1: get_dict = copy(context['request'].GET) get_dict['page'] = current - 1 - print get_dict return {'number': current - 1, 'title': None, 'url': None, 'get_dict': urlencode(get_dict)} else: @@ -25,7 +24,6 @@ def next_page(context, fallback=None, fallback_title=None): if current < page_range[-1]: get_dict = copy(context['request'].GET) get_dict['page'] = current + 1 - print get_dict return {'number': current + 1, 'title': None, 'url': None, 'get_dict': urlencode(get_dict)} else: -- 2.20.1