X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/d36309a6506ad8ed03626b84ff49b880665bc101..6f8143cfb9188e2e6c1869a74dd6df9a66460fd4:/sommitrealweird/settings.py?ds=sidebyside diff --git a/sommitrealweird/settings.py b/sommitrealweird/settings.py index d20abe4..41f9656 100644 --- a/sommitrealweird/settings.py +++ b/sommitrealweird/settings.py @@ -51,6 +51,7 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', + 'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.doc.XViewMiddleware', ) @@ -67,9 +68,11 @@ INSTALLED_APPS = ( 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.markup', + 'django.contrib.comments', 'bpcms', 'generic', 'blog', + 'photo', ) TEMPLATE_CONTEXT_PROCESSORS = ( @@ -81,12 +84,15 @@ TEMPLATE_CONTEXT_PROCESSORS = ( 'bpcms.context_processors.content_submenu', 'bpcms.context_processors.content_breadcrumb', 'blog.context_processors.content_breadcrumb', + 'blog.context_processors.blog_feed', + 'photo.context_processors.content_breadcrumb', ) APPEND_SLASH=False RESTRUCTUREDTEXT_FILTER_SETTINGS = { 'initial_header_level': 2, + 'doctitle_xform': False, } BPCMS_ROOT = '/' @@ -98,6 +104,7 @@ BPCMS_DISALLOWED_ROOT_DOC_NAMES = ( BLOG_ROOT = '/blog/' BLOG_TITLE = u'The World of SommitRealWeird.' +BLOG_FEED_ROOT = '/feeds/blog/' try: from localsettings import *