From 86f4da306cc8f80f0ee1c044e893aa83bb064224 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 10 May 2018 13:42:32 +1000 Subject: [PATCH] Fix creating posts with Micropub to use the new entry kind handling --- micropub/views/create.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/micropub/views/create.py b/micropub/views/create.py index 5b64da0..ef3599d 100644 --- a/micropub/views/create.py +++ b/micropub/views/create.py @@ -77,9 +77,9 @@ def create(request): reverse('home:index'), reverse('entries:atom'), reverse('entries:rss'), - reverse('entries:index', kwargs={'kind': kind.plural}), - reverse('entries:atom_by_kind', kwargs={'kind': kind.plural}), - reverse('entries:rss_by_kind', kwargs={'kind': kind.plural}), + reverse('entries:index', kwargs={'kind': kind}), + reverse('entries:atom_by_kind', kwargs={'kind': kind}), + reverse('entries:rss_by_kind', kwargs={'kind': kind}), )] + [urljoin(base, cat.url) for cat in cats] ping_hub.delay(perma, *others) send_mentions.delay(perma)