From 1918a43e4b772efeddb429471742b57496d1868d Mon Sep 17 00:00:00 2001 From: tzangms Date: Sun, 8 May 2011 14:01:01 +0800 Subject: [PATCH] add STATIC_URL --- pagination/templatetags/pagination_tags.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pagination/templatetags/pagination_tags.py b/pagination/templatetags/pagination_tags.py index 3733434..53f9f3f 100644 --- 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, + 'STATIC_URL': settings.STATIC_URL, 'pages': pages, 'page_obj': page_obj, 'paginator': paginator, -- 2.20.1