From: test test Date: Tue, 1 Jun 2021 08:28:39 +0000 (+0200) Subject: Fix postman urls X-Git-Tag: 2.8.1-ae~51 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=6eff80770681edda1f997f576b6c9f2877c53bd9;p=teleforma.git Fix postman urls --- diff --git a/teleforma/urls.py b/teleforma/urls.py index d71119e4..a644ea54 100644 --- a/teleforma/urls.py +++ b/teleforma/urls.py @@ -203,7 +203,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 8ba8a442..f8c695f8 100644 --- a/teleforma/views/crfpa.py +++ b/teleforma/views/crfpa.py @@ -942,7 +942,7 @@ class WriteView(PostmanWriteView): """ form_classes = (WriteForm, AnonymousWriteForm) - success_url = "postman_sent" + success_url = "postman:sent" class CRFPAProfileView(ProfileView): """Provide Collections web UI methods"""