aboutsummaryrefslogtreecommitdiff
path: root/weblog/apps.py
diff options
context:
space:
mode:
authorYaroslsav-95 <contact@yaroslavps.com>2018-01-31 08:27:11 +0300
committerYaroslsav-95 <contact@yaroslavps.com>2018-01-31 08:27:11 +0300
commit28b67ad39af15d27bad7e55a0ae7fafe91139239 (patch)
treeb94b7d55bfc8b95f2a3c0b96fe17d6eeee85589f /weblog/apps.py
parent40949b252c9929c755715d3e32df47cd82b095a0 (diff)
downloadw3blog-28b67ad39af15d27bad7e55a0ae7fafe91139239.tar.gz
w3blog-28b67ad39af15d27bad7e55a0ae7fafe91139239.zip
Initial
Diffstat (limited to 'weblog/apps.py')
-rw-r--r--weblog/apps.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/weblog/apps.py b/weblog/apps.py
new file mode 100644
index 0000000..3389f92
--- /dev/null
+++ b/weblog/apps.py
@@ -0,0 +1,18 @@
+from django.apps import AppConfig
+
+SETTINGS = {
+ 'enable_comments': False,
+ 'allow_anon_comments': True,
+ 'multilingual': True,
+ 'blog_title': 'Django-Weblog',
+ 'base_template': 'base.html',
+ 'show_author': True,
+ 'use_authors_username': True,
+ 'show_sidebar': True,
+ 'show_categories': False,
+ 'show_archive': True,
+ 'posts_per_page': 10,
+}
+
+class WeblogConfig(AppConfig):
+ name = 'weblog'