Forget about per-theme static while merging with piranha, default tip
authorpythy <the.pythy@gmail.com>
Tue Oct 21 21:50:06 2008 +0700 (3 days ago)
changeset 10595bb844ed22fb
parent 1058e1e99c66a1de
Forget about per-theme static while merging with piranha,
fix it.
urls.py
       1 --- a/urls.py	Tue Oct 21 21:40:08 2008 +0700
       2 +++ b/urls.py	Tue Oct 21 21:50:06 2008 +0700
       3 @@ -74,6 +74,8 @@
       4              {'document_root': settings.MEDIA_ROOT}),
       5          url(r'^static/(.*)$', 'django.views.static.serve',
       6              {'document_root': settings.STATIC_ROOT}),
       7 +        url(r'^%s(.*)$' % settings.THEME_STATIC_URL[1:], 'django.views.static.serve', 
       8 +            {'document_root': settings.THEME_STATIC_ROOT}),
       9          url(r'^admin-media/(.*)$', 'django.views.static.serve',
      10              {'document_root': join(dirname(admin.__file__), 'media')}),
      11          )