diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-03-10 20:52:59 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-03-22 21:15:15 (GMT) |
commit | 8154c30318127e0491786b65975bee808cd8e27b (patch) | |
tree | 5524644d4bcb2f341b452f5d2a38591bed600c48 /program/urls.py | |
parent | b2415eb92622563f567106e2c4951ed498273e53 (diff) |
tinymce: upgrade and disable drag&drop for images
Diffstat (limited to 'program/urls.py')
-rw-r--r-- | program/urls.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/program/urls.py b/program/urls.py index 776b9c0..78b9af4 100644 --- a/program/urls.py +++ b/program/urls.py @@ -4,10 +4,6 @@ from django.views.decorators.cache import cache_page import views -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()), @@ -36,4 +32,4 @@ urlpatterns = patterns('', if settings.DEBUG: urlpatterns += \ patterns('', - url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': PROGRAM_SITE_MEDIA})) + url(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT})) |