From 8a479a557a8c539ad4270c01cf4f3a35c474f025 Mon Sep 17 00:00:00 2001 From: Iacopo Spalletti Date: Wed, 29 Jun 2016 16:23:19 +0200 Subject: [PATCH] Fix BLOG_PERMALINK_URLS name in doc --- docs/features.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/features.rst b/docs/features.rst index 400a2ca..55b9f13 100644 --- a/docs/features.rst +++ b/docs/features.rst @@ -15,12 +15,12 @@ If you want to attach the blog to the home page you have to adapt settings a bit To avoit this add the following settings to you project:: - BLOG_PERMALINKS = ( + BLOG_AVAILABLE_PERMALINK_STYLES = ( ('full_date', _('Full date')), ('short_date', _('Year / Month')), ('category', _('Category')), ) - BLOG_PERMALINKS_URLS = { + BLOG_PERMALINK_URLS = { 'full_date': r'^(?P\d{4})/(?P\d{1,2})/(?P\d{1,2})/(?P\w[-\w]*)/$', 'short_date': r'^(?P\d{4})/(?P\d{1,2})/(?P\w[-\w]*)/$', 'category': r'^(?P\w[-\w]*)/(?P\w[-\w]*)/$',