X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/d82db041f520a51eccee6788ebc3a494e2a4280f..6f8143cfb9188e2e6c1869a74dd6df9a66460fd4:/sommitrealweird/settings.py?ds=inline diff --git a/sommitrealweird/settings.py b/sommitrealweird/settings.py index e4d2dcc..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,6 +68,7 @@ INSTALLED_APPS = ( 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.markup', + 'django.contrib.comments', 'bpcms', 'generic', 'blog', @@ -82,6 +84,7 @@ 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', ) @@ -89,6 +92,7 @@ APPEND_SLASH=False RESTRUCTUREDTEXT_FILTER_SETTINGS = { 'initial_header_level': 2, + 'doctitle_xform': False, } BPCMS_ROOT = '/' @@ -100,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 *