Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed the default url for the cms media dir for the new example layout

  • Loading branch information...
commit 146d0161a858a63190cdf9d44ec24b7c96f9b3f7 1 parent ab2fba3
@stefanfoulis authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  example/django_project/urls.py
View
3  example/django_project/urls.py
@@ -8,8 +8,7 @@
# hack to add the media of the image_filer app
IMAGE_FILER_MEDIA_DIR = os.path.abspath( os.path.join(settings.PROJECT_DIR, '../../image_filer/media/image_filer') )
-CMS_MEDIA_DIR = os.path.abspath( os.path.join(settings.PROJECT_DIR, '../virtualenv/image_filer/src/django-cms/cms/media/cms') )
-
+CMS_MEDIA_DIR = os.path.abspath( os.path.join(settings.PROJECT_DIR, '../image_filer_example/src/django-cms-2.0/cms/media/cms') )
urlpatterns = patterns('',
(r'^media/image_filer/(?P<path>.*)$', 'django.views.static.serve', {'document_root': IMAGE_FILER_MEDIA_DIR, 'show_indexes': True}),
Please sign in to comment.
Something went wrong with that request. Please try again.