fnp
/
django-pagination.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ff666e
)
add STATIC_URL
author
tzangms
<tzangms@gmail.com>
Sun, 8 May 2011 06:01:01 +0000
(14:01 +0800)
committer
tzangms
<tzangms@gmail.com>
Sun, 8 May 2011 06:01:01 +0000
(14:01 +0800)
pagination/templatetags/pagination_tags.py
patch
|
blob
|
history
diff --git
a/pagination/templatetags/pagination_tags.py
b/pagination/templatetags/pagination_tags.py
index
3733434
..
53f9f3f
100644
(file)
--- a/
pagination/templatetags/pagination_tags.py
+++ b/
pagination/templatetags/pagination_tags.py
@@
-200,6
+200,7
@@
def paginate(context, window=DEFAULT_WINDOW):
pages.extend(differenced)
to_return = {
'MEDIA_URL': settings.MEDIA_URL,
pages.extend(differenced)
to_return = {
'MEDIA_URL': settings.MEDIA_URL,
+ 'STATIC_URL': settings.STATIC_URL,
'pages': pages,
'page_obj': page_obj,
'paginator': paginator,
'pages': pages,
'page_obj': page_obj,
'paginator': paginator,