From 4205821bac5fc9a402a9f6143c736f2448233d0c Mon Sep 17 00:00:00 2001 From: Philip Sargent <philip.sargent@klebos.com> Date: Sat, 30 May 2020 02:34:33 +0100 Subject: [PATCH] allow STATIC and tinyMCE to work with runserver --- urls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/urls.py b/urls.py index cf32a93..2aecc38 100644 --- a/urls.py +++ b/urls.py @@ -111,6 +111,8 @@ actualurlpatterns = patterns('', # (r'^personform/(.*)$', personForm), + (r'^static/(?P<path>.*)$', 'django.views.static.serve', + {'document_root': settings.STATIC_ROOT, 'show_indexes': True}), (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}), (r'^tinymce_media/(?P<path>.*)$', 'django.views.static.serve',