Added STATIC_URL to context for icons.
authorStephen Burrows <stephen.r.burrows@gmail.com>
Thu, 31 Mar 2011 21:45:00 +0000 (17:45 -0400)
committerStephen Burrows <stephen.r.burrows@gmail.com>
Wed, 6 Apr 2011 21:30:25 +0000 (17:30 -0400)
contrib/gilbert/sites.py

index 3b4124d..3d07a84 100644 (file)
@@ -225,6 +225,7 @@ class GilbertSite(object):
                
                return render_to_response('gilbert/icons.css', {
                        'icon_names': set(icon_names),
+                       'STATIC_URL': settings.STATIC_URL
                }, mimetype='text/css')
        
        def router(self, request, app_label=None, extra_context=None):