mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Made the media delivery work
This commit is contained in:
parent
b5c6482ffa
commit
c55e56e48f
1 changed files with 4 additions and 4 deletions
|
|
@ -25,11 +25,11 @@ urlpatterns = patterns('',
|
|||
(r'^static/categories/(?P<path>.*)$', 'django.views.static.serve',
|
||||
{'document_root': ROOT_PATH + '/categories/media/categories/'}),
|
||||
|
||||
(r'^static/editor/(?P<path>.*)$', 'django.views.static.serve',
|
||||
{'document_root': ROOT_PATH + '/editor/media/editor/',
|
||||
'show_indexes':True}),
|
||||
# (r'^static/editor/(?P<path>.*)$', 'django.views.static.serve',
|
||||
# {'document_root': ROOT_PATH + '/editor/media/editor/',
|
||||
# 'show_indexes':True}),
|
||||
|
||||
(r'^static/(?P<path>.*)$', 'django.views.static.serve',
|
||||
{'document_root': ROOT_PATH + '/example/static/'}),
|
||||
{'document_root': os.path.join(ROOT_PATH, 'example', 'static')}),
|
||||
|
||||
)
|
||||
Loading…
Reference in a new issue