From: Carl Meyer Date: Wed, 3 Mar 2010 21:57:04 +0000 (-0500) Subject: fix spurious None X-Git-Tag: 1.0.7.1~3^2~1 X-Git-Url: https://git.mdrn.pl/django-pagination.git/commitdiff_plain/a92e38842bc87e9dacbd993dda8123ee612128dd?ds=sidebyside;hp=-c fix spurious None --- a92e38842bc87e9dacbd993dda8123ee612128dd diff --git a/pagination/templatetags/pagination_tags.py b/pagination/templatetags/pagination_tags.py index fa8fd48..bb9978d 100644 --- a/pagination/templatetags/pagination_tags.py +++ b/pagination/templatetags/pagination_tags.py @@ -104,7 +104,7 @@ class AutoPaginateNode(template.Node): context['page_obj'] = page_obj return u'' -def paginate(context, window=DEFAULT_WINDOW, hashtag=None): +def paginate(context, window=DEFAULT_WINDOW, hashtag=''): """ Renders the ``pagination/pagination.html`` template, resulting in a Digg-like display of the available pages, given the current page. If there