diff --git a/example/urls.py b/example/urls.py index 0bc8ee0..c8e1a75 100644 --- a/example/urls.py +++ b/example/urls.py @@ -25,11 +25,11 @@ urlpatterns = patterns('', (r'^static/categories/(?P.*)$', 'django.views.static.serve', {'document_root': ROOT_PATH + '/categories/media/categories/'}), - (r'^static/editor/(?P.*)$', 'django.views.static.serve', - {'document_root': ROOT_PATH + '/editor/media/editor/', - 'show_indexes':True}), + # (r'^static/editor/(?P.*)$', 'django.views.static.serve', + # {'document_root': ROOT_PATH + '/editor/media/editor/', + # 'show_indexes':True}), (r'^static/(?P.*)$', 'django.views.static.serve', - {'document_root': ROOT_PATH + '/example/static/'}), + {'document_root': os.path.join(ROOT_PATH, 'example', 'static')}), ) \ No newline at end of file