]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/settings.py
add caching to the toplevel menu
[sommitrealweird.git] / sommitrealweird / settings.py
index e81db68001ae744ceb48a117b32676fa6d1e2f4a..923222fb0529ba4cbe38bb9bfc44cbfc9e8ba3d4 100644 (file)
@@ -51,6 +51,8 @@ ADMIN_MEDIA_PREFIX = '/admin-media/'
 # Make this unique, and don't share it with anybody.
 SECRET_KEY = '$!roq-b5snvjxi4dr2y7(l(@$@k+2%aub&)s__0)k#r&c(8(4x'
 
+CACHE_BACKEND = 'file:///home/brettp/dev/sommitrealweird/tmp'
+
 # List of callables that know how to import templates from various sources.
 TEMPLATE_LOADERS = (
     'django.template.loaders.filesystem.load_template_source',
@@ -81,13 +83,30 @@ INSTALLED_APPS = (
     'django.contrib.sites',
     'django.contrib.admin',
     'django.contrib.markup',
-    'content',
+    'bpcms',
     'generic',
+    'blog',
 )
 
 TEMPLATE_CONTEXT_PROCESSORS = (
     'django.core.context_processors.auth',
     'django.core.context_processors.debug',
     'django.core.context_processors.i18n',
-    'generic.context_processors.media'
+    'generic.context_processors.media',
+    'bpcms.context_processors.content_menu',
+    'bpcms.context_processors.content_submenu',
+    'bpcms.context_processors.content_breadcrumb',
+    'blog.context_processors.content_breadcrumb',
 )
+
+APPEND_SLASH=False
+
+BPCMS_ROOT = '/'
+BPCMS_DISALLOWED_ROOT_DOC_NAMES = (
+    'admin',
+    'blog',
+    'photos',
+)
+
+BLOG_ROOT = '/blog/'
+BLOG_TITLE = u'The World of SommitRealWeird.'