From: test test Date: Tue, 1 Jun 2021 08:28:39 +0000 (+0200) Subject: Fix postman urls X-Git-Tag: 2.1~66^2^2~51 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=92aaa62aeeed16cc64506d9023d62981f5b25744;p=teleforma.git Fix postman urls --- 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"""