From: Radek Czajka Date: Wed, 22 Apr 2020 11:20:47 +0000 (+0200) Subject: Fixes #4028: bad publishing suggestion admin links. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/28e9178ad9b465e89c5a784c31f9201285440962 Fixes #4028: bad publishing suggestion admin links. --- diff --git a/src/suggest/forms.py b/src/suggest/forms.py index 952c4fe5c..b276f0396 100644 --- a/src/suggest/forms.py +++ b/src/suggest/forms.py @@ -106,7 +106,7 @@ class PublishingSuggestForm(NewsletterForm): Audiobooki: %(audiobooks)s''' % { - 'url': request.build_absolute_uri(reverse('admin:suggest_suggestion_change', args=[suggestion.id])), + 'url': request.build_absolute_uri(reverse('admin:suggest_publishingsuggestion_change', args=[suggestion.id])), 'user': str(request.user) if request.user.is_authenticated else '', 'contact': contact, 'books': books,