summaryrefslogtreecommitdiff
path: root/program/urls.py
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-05-27 20:03:04 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-05-27 20:03:04 (GMT)
commit4a66728a9bbe88704c6e01ec8dd683cdb0a4c0c6 (patch)
tree9c62c09230aec03187cc13d2ac78d299bd96096b /program/urls.py
parenta1487772e667436e2274dece86cb40d2e58632a7 (diff)
parentc27b374386463c56f41815869d6209f9a422b858 (diff)
Merge branch 'master' into stable
Diffstat (limited to 'program/urls.py')
-rw-r--r--program/urls.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/urls.py b/program/urls.py
index 18625a4..a3badf3 100644
--- a/program/urls.py
+++ b/program/urls.py
@@ -8,7 +8,6 @@ import os
PROGRAM_SITE_MEDIA = os.path.join(os.path.dirname(__file__), '../site_media')
-
urlpatterns = patterns('',
url(r'^today/?$', views.DayScheduleView.as_view()),
url(r'^week/?$', views.WeekScheduleView.as_view()),
@@ -25,5 +24,6 @@ urlpatterns = patterns('',
url(r'^styles.css$', views.StylesView.as_view())
)
if settings.DEBUG:
- urlpatterns += patterns('',
- url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': PROGRAM_SITE_MEDIA}))
+ urlpatterns += \
+ patterns('',
+ url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': PROGRAM_SITE_MEDIA}))