From 0785634524a82373d07400cad9b5e96c77a8569b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a?= Date: Thu, 19 Jul 2018 21:37:22 +0300 Subject: rss bug fix, missing settings import --- setup.py | 2 +- weblog/feeds.py | 1 + weblog/templates/weblog_base.html | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8aafbe5..a472f5d 100755 --- a/setup.py +++ b/setup.py @@ -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 @@ +{% load i18n %} {% load static %} -- cgit v1.2.3