aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <contact@yaroslavps.com>2018-05-31 15:04:45 +0300
committerYaroslav de la Peña Smirnov <contact@yaroslavps.com>2018-05-31 15:04:45 +0300
commit5a7466204b4030873405b1a0fcb8b208762453ee (patch)
treebc73cccb953b6ba25afdb7dffbee505a296e94ac /README.md
parentbe41310b3dc4aec12d3a950cf9fe737811436499 (diff)
downloadw3blog-5a7466204b4030873405b1a0fcb8b208762453ee.tar.gz
w3blog-5a7466204b4030873405b1a0fcb8b208762453ee.zip
Ability to pin posts, updated to bootstrap 4, fixes
Diffstat (limited to 'README.md')
-rwxr-xr-x[-rw-r--r--]README.md28
1 files changed, 15 insertions, 13 deletions
diff --git a/README.md b/README.md
index 3da5fa9..f52aac7 100644..100755
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-# Weblog version 0.2 #
+# Weblog version 0.3 #
Weblog is a simple blog engine for Django, with some focus on multilingual capabilities. It includes all of the basic features expected of a traditional Web log (also known as blog), as well as multilingual features, i.e. translations of blog posts which are delivered automatically in the user's preferred language using the internationalization capabilities of Django, enabling the possibility of targeting people from different countries in a single blog/site.
@@ -17,18 +17,20 @@ 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 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.
-Note: This package depends on the following python packages (besides Django and their dependencies): django-summernote \ No newline at end of file
+Note: This package depends on the following python packages (besides Django and their dependencies): django-summernote