aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rwxr-xr-x[-rw-r--r--]README.md24
1 files changed, 13 insertions, 11 deletions
diff --git a/README.md b/README.md
index 7ed11eb..d38ac9b 100644..100755
--- a/README.md
+++ b/README.md
@@ -17,17 +17,19 @@ This django app is still a work in progress. More features will be added/complet
4. You can configure and customize the blog by adding and modifying to your liking/needs the following settings to your settings.py:
- * WEBLOG_ENABLE_COMMENTS = True #Should comments be allowed on your blog
- * WEBLOG_ALLOW_ANON_COMMENTS = False #Are visitors allowed to leave comments without signing in (note that you should provide a way for them to register and login if you wish to allow only registered user's comments)
- * WEBLOG_MULTILINGUAL = True #Enable multilingual features of the weblog app (i.e.: BlogPost and Category translations)
- * WEBLOG_TITLE = 'Weblog Test' #The name/title of your blog (e.g.: Example Site Newsletter)
- * WEBLOG_BASE_TEMPLATE = 'site_base.html' #Which base template to use (if not indicated, it will use its own base template)
- * WEBLOG_SHOW_AUTHOR = True #Should the author of the post be shown (it uses the Django User model)
- * WEBLOG_USE_AUTHORS_USERNAME = True #Show the username of the author instead of the fullname
- * WEBLOG_SHOW_SIDEBAR = True #Enable the sidebar
- * WEBLOG_SHOW_CATEGORIES = True #Show links to categories in the sidebar
- * WEBLOG_SHOW_ARCHIVE = True #Show the archive treeview (Years>Months) in the sidebar
- * WEBLOG_POSTS_PER_PAGE = 10 #Number of posts that should be shown per page
+ WEBLOG_SETTINGS = {
+ 'enable_comments': False,
+ 'allow_anon_comments': False,
+ 'multilingual': True,
+ 'blog_title': 'Django-Weblog',
+ 'base_template': 'weblog_base.html',
+ 'show_author': True,
+ 'use_authors_username': True,
+ 'show_sidebar': True,
+ 'show_categories': False,
+ 'show_archive': True,
+ 'posts_per_page': 10,
+ }
5. Note that if you use your own base template, you will either need to link bootstrap (v3.2 at the moment) in your base template's head, or write your own styles for the site based on the bootstrap classes. You will as well need to link files "weblog/css/weblog.css" and "weblog/js/weblog.js" in your html head, or write your own.