|
@ -27,4 +27,6 @@ if settings.DEBUG: |
|
|
url(r'^404/$', TemplateView.as_view(template_name='404.html')), |
|
|
url(r'^404/$', TemplateView.as_view(template_name='404.html')), |
|
|
url(r'^500/$', TemplateView.as_view(template_name='500.html')), |
|
|
url(r'^500/$', TemplateView.as_view(template_name='500.html')), |
|
|
url(r'^503/$', TemplateView.as_view(template_name='503.html')), |
|
|
url(r'^503/$', TemplateView.as_view(template_name='503.html')), |
|
|
|
|
|
url(r'^media/(?P<path>.*)$', 'django.views.static.serve', { |
|
|
|
|
|
'document_root': settings.MEDIA_ROOT, }), |
|
|
) + urlpatterns |
|
|
) + urlpatterns |
|
|