Merge branch 'master' of git://github.com/tzangms/django-pagination
authorZygmunt Krynicki <zygmunt.krynicki@linaro.org>
Mon, 13 Jun 2011 12:45:15 +0000 (14:45 +0200)
committerZygmunt Bazyli Krynicki <Zygmunt Krynicki zygmunt.krynicki@linaro.org>
Mon, 13 Jun 2011 12:45:15 +0000 (14:45 +0200)
linaro_django_pagination/templatetags/pagination_tags.py

index 1e7d5da..f4ddde7 100755 (executable)
@@ -251,6 +251,8 @@ def paginate(context, window=DEFAULT_WINDOW):
             differenced.sort()
             pages.extend(differenced)
         to_return = {
+            'MEDIA_URL': settings.MEDIA_URL,
+            'STATIC_URL': settings.STATIC_URL,
             'pages': pages,
             'page_obj': page_obj,
             'paginator': paginator,