X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/5d92673d4fce9136e113c959b3660def583cac98..28fac547f6c8639b4c4edd66c895dacc7dff030e:/fnpdjango/templatetags/fnp_prevnext.py?ds=sidebyside 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: