Skip to content
Browse files

example settings and urls

  • Loading branch information...
1 parent 51c2870 commit 3777ea3bca50305ced6c40c48918c8403e856728 @evildmp committed Jul 1, 2011
Showing with 4 additions and 2 deletions.
  1. +3 −1 example/settings.py
  2. +1 −1 example/urls.py
View
4 example/settings.py
@@ -148,6 +148,7 @@
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
+ BASE_PATH+'/templates/',
)
# ------------------------ Django CMS
@@ -159,6 +160,7 @@
CMS_TEMPLATES = (
('arkestra.html', gettext('Arkestra')),
+ ('institute.html', gettext('Institute of Mediaeval Medicine')),
)
CMS_PAGE_FLAGS = (
@@ -182,7 +184,7 @@
'appmedia',
'cms.plugins.text',
'cms.plugins.snippet',
-# 'cmsplugin_filer_image',
+ 'arkestra_image_plugin',
# Arkestra applications
View
2 example/urls.py
@@ -19,7 +19,7 @@
if settings.DEBUG:
urlpatterns+= patterns('',
- url(r'^media/cms/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.CMS_MEDIA_ROOT, 'show_indexes': True}),
+ # url(r'^media/cms/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.CMS_MEDIA_ROOT, 'show_indexes': True}),
# url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
(r'^' + settings.MEDIA_URL.lstrip('/'), include('appmedia.urls')),
)

0 comments on commit 3777ea3

Please sign in to comment.
Something went wrong with that request. Please try again.