X-Git-Url: https://git.mdrn.pl/django-pagination.git/blobdiff_plain/087d48eaa49896e1297b6e26b3e89bb9164040e8..6b4e8adb049d1e71d7f69e6ca562e5100624b789:/linaro_django_pagination/templatetags/pagination_tags.py diff --git a/linaro_django_pagination/templatetags/pagination_tags.py b/linaro_django_pagination/templatetags/pagination_tags.py index 2d15e72..1a84c57 100644 --- a/linaro_django_pagination/templatetags/pagination_tags.py +++ b/linaro_django_pagination/templatetags/pagination_tags.py @@ -93,8 +93,8 @@ def do_autopaginate(parser, token): if queryset_var is None: raise TemplateSyntaxError( "Invalid syntax. Proper usage of this tag is: " - "{%% autopaginate QUERYSET [PAGINATE_BY] [ORPHANS]" - " [as CONTEXT_VAR_NAME] %%}") + "{% autopaginate QUERYSET [PAGINATE_BY] [ORPHANS]" + " [as CONTEXT_VAR_NAME] %}") return AutoPaginateNode(queryset_var, multiple_paginations, paginate_by, orphans, context_var) @@ -201,7 +201,7 @@ def do_paginate(parser, token): paginate [using "TEMPLATE"] Where TEMPLATE is a quoted template name. If missing the default template - is used (paginate/paginate.html). + is used (paginate/pagination.html). """ argv = token.split_contents() argc = len(argv)