From 6eff80770681edda1f997f576b6c9f2877c53bd9 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 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""" -- 2.39.5