Ignore:
Timestamp:
16.04.2013 22:36:15 (7 years ago)
Author:
Stanislaw Klekot <dozzie@…>
Branches:
b66903eafbcb1d49112014abc82c8bf683413db0, prototype-new-outfit
Children:
b66903eafbcb1d49112014abc82c8bf683413db0
Parents:
d2294a777c693f6a5e8fc23e36658ecf6563821f
git-author:
Stanislaw Klekot <dozzie@…> (16.04.2013 22:36:15)
git-committer:
Stanislaw Klekot <dozzie@…> (16.04.2013 22:36:15)
Message:

Added proper URLs to static files.

This is a wild hack on Django templates, but I couldn't get anything better at
the moment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dashwiki/urls.py

    r483808 ra32cc8  
    2222  (r'^logout/?$', 'logout'), 
    2323) 
     24 
     25urlpatterns += patterns('', 
     26  url( 
     27    r'^media/(?P<path>.*)$', 
     28    'django.views.static.serve', { 'document_root': 'media' }, 
     29    name = "static_media" 
     30  ), 
     31) 
Note: See TracChangeset for help on using the changeset viewer.