diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2020-05-30 02:34:33 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2020-05-30 02:34:33 +0100 |
commit | 4205821bac5fc9a402a9f6143c736f2448233d0c (patch) | |
tree | 3b5c95430852e1bff19dccdf0314d3ed20075d3a | |
parent | 0776978c9c8d7ee921b446de18b40162ba231aab (diff) | |
download | troggle-4205821bac5fc9a402a9f6143c736f2448233d0c.tar.gz troggle-4205821bac5fc9a402a9f6143c736f2448233d0c.tar.bz2 troggle-4205821bac5fc9a402a9f6143c736f2448233d0c.zip |
allow STATIC and tinyMCE to work with runserver
-rw-r--r-- | urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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', |