From 92aaa62aeeed16cc64506d9023d62981f5b25744 Mon Sep 17 00:00:00 2001 From: test test Date: Tue, 1 Jun 2021 10:28:39 +0200 Subject: [PATCH] Fix postman urls --- teleforma/urls.py | 2 +- teleforma/views/crfpa.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/teleforma/urls.py b/teleforma/urls.py index 1b6e8b14..108f8acd 100644 --- a/teleforma/urls.py +++ b/teleforma/urls.py @@ -200,7 +200,7 @@ urlpatterns = [ # Postman url(r'^messages/write/(?:(?P[^/#]+)/)?$', - WriteView.as_view(), name='postman_write'), + WriteView.as_view(), name='postman:write'), url(r'^messages/', include('postman.urls')), diff --git a/teleforma/views/crfpa.py b/teleforma/views/crfpa.py index 7497d208..80ff879b 100644 --- a/teleforma/views/crfpa.py +++ b/teleforma/views/crfpa.py @@ -1126,7 +1126,7 @@ class WriteView(PostmanWriteView): """ form_classes = (WriteForm, AnonymousWriteForm) - success_url = "postman_sent" + success_url = "postman:sent" class CRFPAProfileView(ProfileView): """Provide Collections web UI methods""" -- 2.39.5