summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-05-30 02:34:33 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2020-05-30 02:34:33 +0100
commit4205821bac5fc9a402a9f6143c736f2448233d0c (patch)
tree3b5c95430852e1bff19dccdf0314d3ed20075d3a
parent0776978c9c8d7ee921b446de18b40162ba231aab (diff)
downloadtroggle-4205821bac5fc9a402a9f6143c736f2448233d0c.tar.gz
troggle-4205821bac5fc9a402a9f6143c736f2448233d0c.tar.bz2
troggle-4205821bac5fc9a402a9f6143c736f2448233d0c.zip
allow STATIC and tinyMCE to work with runserver
-rw-r--r--urls.py2
1 files changed, 2 insertions, 0 deletions
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',