]> 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>
Tue, 1 Jun 2021 08:28:39 +0000 (10:28 +0200)
teleforma/urls.py
teleforma/views/crfpa.py

index 1b6e8b14560b8c01b672a71bceb1549e3edd3343..108f8acd0e274220b6ea78a51d3fbebdd6e0f3c6 100644 (file)
@@ -200,7 +200,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 7497d2087b9ae957c6805d219133ae1289281dea..80ff879ba6634625d2ffa71e7aaf66547c66feac 100644 (file)
@@ -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"""