Fix creating posts with Micropub to use the new entry kind handling

This commit is contained in:
Danielle McLean 2018-05-10 13:42:32 +10:00
parent 04b3b7f806
commit 86f4da306c
Signed by untrusted user: 00dani
GPG key ID: D111F8C5A2560F19

View file

@ -77,9 +77,9 @@ def create(request):
reverse('home:index'), reverse('home:index'),
reverse('entries:atom'), reverse('entries:atom'),
reverse('entries:rss'), reverse('entries:rss'),
reverse('entries:index', kwargs={'kind': kind.plural}), reverse('entries:index', kwargs={'kind': kind}),
reverse('entries:atom_by_kind', kwargs={'kind': kind.plural}), reverse('entries:atom_by_kind', kwargs={'kind': kind}),
reverse('entries:rss_by_kind', kwargs={'kind': kind.plural}), reverse('entries:rss_by_kind', kwargs={'kind': kind}),
)] + [urljoin(base, cat.url) for cat in cats] )] + [urljoin(base, cat.url) for cat in cats]
ping_hub.delay(perma, *others) ping_hub.delay(perma, *others)
send_mentions.delay(perma) send_mentions.delay(perma)