From: tzangms Date: Sun, 8 May 2011 06:01:01 +0000 (+0800) Subject: add STATIC_URL X-Git-Tag: release-2.0~28^2 X-Git-Url: https://git.mdrn.pl/django-pagination.git/commitdiff_plain/1918a43e4b772efeddb429471742b57496d1868d?ds=inline;hp=5ff666ecd6c887c9ae7baac9ec90f64c83b59a05 add STATIC_URL --- 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,