Fixes #4028: bad publishing suggestion admin links.
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 22 Apr 2020 11:20:47 +0000 (13:20 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Thu, 10 Sep 2020 12:15:11 +0000 (14:15 +0200)
src/suggest/forms.py

index 952c4fe..b276f03 100644 (file)
@@ -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,