whoops, patch the RSS/Atom feeds to work with the refactored handling of entry kinds

This commit is contained in:
Danielle McLean 2018-05-08 18:10:08 +10:00
parent 4d974a5364
commit 30c4c8ec8f
Signed by: 00dani
GPG Key ID: 8EB789DDF3ABD240
1 changed files with 2 additions and 2 deletions

View File

@ -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(