2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00

allow STATIC and tinyMCE to work with runserver

This commit is contained in:
Philip Sargent 2020-05-30 02:34:33 +01:00
parent 0776978c9c
commit 4205821bac

View File

@ -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',