Static templates.

master
Nick Sergeant 2014-10-20 22:12:03 -04:00
parent d4f33fd31c
commit c65339c541
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ urlpatterns = patterns('',
url(r'^', include('snipts.urls')),
)
if DEBUG:
if settings.DEBUG:
urlpatterns += patterns('',
(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': os.path.join(os.path.dirname(__file__), 'media')}),
)