X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/670af4e558fa7044af5a17e95f3a0939f65fbdc5..9227f88e18b73794e86cface4f2aab31ed33f0d4:/sommitrealweird/settings.py?ds=inline diff --git a/sommitrealweird/settings.py b/sommitrealweird/settings.py index cc4b236..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,7 +92,7 @@ APPEND_SLASH=False RESTRUCTUREDTEXT_FILTER_SETTINGS = { 'initial_header_level': 2, - 'compact_field_list': 0, + 'doctitle_xform': False, } BPCMS_ROOT = '/' @@ -101,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 *