Browse Source

servindo arquivos estaticos em /sigi em development

diagnosticos
Felipe Vieira 13 years ago
parent
commit
94262f0602
  1. 2
      sigi/urls.py

2
sigi/urls.py

@ -77,7 +77,7 @@ if settings.DEBUG:
'',
# static files
(r'^media/(?P<path>.*)$', 'django.views.static.serve',
(r'^sigi/media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT}),
(r'^404/$', 'django.views.generic.simple.direct_to_template',

Loading…
Cancel
Save