Proxy cachedfiles that are used as editor previews

This commit is contained in:
Raphael Michel
2017-05-10 15:02:54 +02:00
parent 4561b7dce2
commit 74259bd4c6
2 changed files with 22 additions and 4 deletions

View File

@@ -8,4 +8,6 @@ urlpatterns = [
url(r'^control/event/(?P<organizer>[^/]+)/(?P<event>[^/]+)/pdfoutput/editor/webfonts.css',
views.FontsCSSView.as_view(),
name='css'),
url(r'^control/event/(?P<organizer>[^/]+)/(?P<event>[^/]+)/pdfoutput/editor/(?P<filename>[^/]+).pdf$',
views.PdfView.as_view(), name='pdf'),
]