From 30c4c8ec8f0f69305d969ac8f8a18e6756da91cc Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Tue, 8 May 2018 18:10:08 +1000 Subject: [PATCH] whoops, patch the RSS/Atom feeds to work with the refactored handling of entry kinds --- entries/views/feeds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entries/views/feeds.py b/entries/views/feeds.py index 3110030..5f0b4ff 100644 --- a/entries/views/feeds.py +++ b/entries/views/feeds.py @@ -4,7 +4,7 @@ from django.urls import reverse from django.utils.feedgenerator import Atom1Feed from urllib.parse import urljoin from lemoncurry.templatetags.markdown import markdown -from ..kinds import from_plural, on_home +from ..kinds import on_home from ..models import Entry @@ -37,7 +37,7 @@ class EntriesFeed(Feed): class RssByKind(EntriesFeed): def get_object(self, request, kind): - return from_plural[kind] + return kind def title(self, kind): return "{0} ~ {1}".format(