diff options
author | Yaroslav de la Peña <contact@yaroslavps.com> | 2018-07-19 21:37:22 +0300 |
---|---|---|
committer | Yaroslav de la Peña <contact@yaroslavps.com> | 2018-07-19 21:37:22 +0300 |
commit | 0785634524a82373d07400cad9b5e96c77a8569b (patch) | |
tree | 193b39fce47aff0cf083bcd992c9554714a3d4e6 | |
parent | b0d505df13ae0c315d21f440c200c029a2bb07db (diff) | |
download | w3blog-0785634524a82373d07400cad9b5e96c77a8569b.tar.gz w3blog-0785634524a82373d07400cad9b5e96c77a8569b.zip |
rss bug fix, missing settings import
-rwxr-xr-x | setup.py | 2 | ||||
-rw-r--r-- | weblog/feeds.py | 1 | ||||
-rwxr-xr-x | weblog/templates/weblog_base.html | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='w3blog', - version='0.4-testing.11', + version='0.4-testing.13', packages=find_packages(), include_package_data=True, license='BSD License', diff --git a/weblog/feeds.py b/weblog/feeds.py index 158e90f..59fcd8f 100644 --- a/weblog/feeds.py +++ b/weblog/feeds.py @@ -1,4 +1,5 @@ from django.contrib.syndication.views import Feed +from django.conf import settings from django.urls import reverse from weblog.models import BlogPost, Translation, Category, CategoryTranslation from weblog.apps import SETTINGS as blog_settings diff --git a/weblog/templates/weblog_base.html b/weblog/templates/weblog_base.html index 9a739cb..acf652c 100755 --- a/weblog/templates/weblog_base.html +++ b/weblog/templates/weblog_base.html @@ -1,4 +1,5 @@ <!DOCTYPE html>
+{% load i18n %}
{% load static %}
<html>
<head>
|