]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/settings.py
Add basic blogging support
[sommitrealweird.git] / sommitrealweird / settings.py
index 3493fa64141683cea3dce6e61c9322d054129d05..959a2797a1c11840d24d0027fde4ee6df0aad3c7 100644 (file)
@@ -81,8 +81,9 @@ INSTALLED_APPS = (
     'django.contrib.sites',
     'django.contrib.admin',
     'django.contrib.markup',
-    'content',
+    'bpcms',
     'generic',
+    'blog',
 )
 
 TEMPLATE_CONTEXT_PROCESSORS = (
@@ -90,5 +91,20 @@ TEMPLATE_CONTEXT_PROCESSORS = (
     'django.core.context_processors.debug',
     'django.core.context_processors.i18n',
     'generic.context_processors.media',
-    'content.context_processors.content_menu',
+    '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.'