]> git.parisson.com Git - teleforma.git/commitdiff
Fix postman urls
authortest test <yoanl@pilotsystems.net>
Tue, 1 Jun 2021 08:28:39 +0000 (10:28 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Wed, 12 Apr 2023 09:41:36 +0000 (11:41 +0200)
teleforma/urls.py
teleforma/views/crfpa.py

index d71119e455dfdcf9a64280d0bbc9653ce41f679d..a644ea547b5f429facb4bb8df8838faf06bfeef7 100644 (file)
@@ -203,7 +203,7 @@ urlpatterns = [
 
                # Postman
                url(r'^messages/write/(?:(?P<recipients>[^/#]+)/)?$',
-                   WriteView.as_view(), name='postman_write'),
+                   WriteView.as_view(), name='postman:write'),
                url(r'^messages/', include('postman.urls')),
 
 
index 8ba8a44255fc4f3389fc8f9a1cdd2515d96426aa..f8c695f88c72c3edf69e653e44adb9ec4c50f633 100644 (file)
@@ -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"""