add STATIC_URL
authortzangms <tzangms@gmail.com>
Sun, 8 May 2011 06:01:01 +0000 (14:01 +0800)
committertzangms <tzangms@gmail.com>
Sun, 8 May 2011 06:01:01 +0000 (14:01 +0800)
pagination/templatetags/pagination_tags.py

index 3733434..53f9f3f 100644 (file)
@@ -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,