dynamicweb/urls: removing static() call

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-11-02 16:02:39 -06:00
parent 55d1c94c38
commit d55a02c015

View file

@ -25,7 +25,6 @@ urlpatterns += i18n_patterns('',
if settings.DEBUG: if settings.DEBUG:
urlpatterns += patterns('', urlpatterns += patterns('',
static(settings.STATIC_URL, document_root=settings.STATIC_ROOT),
url(r'^media/(?P<path>.*)$', url(r'^media/(?P<path>.*)$',
'django.views.static.serve', { 'django.views.static.serve', {
'document_root': settings.MEDIA_ROOT, 'document_root': settings.MEDIA_ROOT,