From 5a7466204b4030873405b1a0fcb8b208762453ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 31 May 2018 15:04:45 +0300 Subject: Ability to pin posts, updated to bootstrap 4, fixes --- README.md | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) mode change 100644 => 100755 README.md (limited to 'README.md') diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 3da5fa9..f52aac7 --- 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 -- cgit v1.2.3