fnp
/
django-pagination.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Describe the motives behind top-level package name change
[django-pagination.git]
/
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
(file)
--- 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: "
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)
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
paginate [using "TEMPLATE"]
Where TEMPLATE is a quoted template name. If missing the default template
- is used (paginate/paginat
e
.html).
+ is used (paginate/paginat
ion
.html).
"""
argv = token.split_contents()
argc = len(argv)
"""
argv = token.split_contents()
argc = len(argv)