From 452dd3f47dd5ac3e9df0b25ca5d753d47ea66a88 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Wed, 21 Mar 2018 22:02:01 +1100 Subject: [PATCH] Oops, update the list of routes that's pinged on micropub creation to use the new names for entry feeds --- 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 2cf5a96..fd3faea 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:' + kind.index), - reverse('entries:' + kind.atom), - reverse('entries:' + kind.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}), )] + [urljoin(base, cat.url) for cat in cats] ping_hub.delay(perma, *others) send_mentions.delay(perma)