From: Radek Czajka Date: Fri, 22 Feb 2013 12:34:29 +0000 (+0100) Subject: minor fix X-Git-Tag: 0.1.5-1~1 X-Git-Url: https://git.mdrn.pl/fnpdjango.git/commitdiff_plain/28fac547f6c8639b4c4edd66c895dacc7dff030e?ds=sidebyside;hp=5d92673d4fce9136e113c959b3660def583cac98 minor fix --- 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: