aboutsummaryrefslogtreecommitdiff
path: root/src/django_pgpmailman/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/django_pgpmailman/urls.py')
-rw-r--r--src/django_pgpmailman/urls.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/django_pgpmailman/urls.py b/src/django_pgpmailman/urls.py
index 6a2df63..abfff27 100644
--- a/src/django_pgpmailman/urls.py
+++ b/src/django_pgpmailman/urls.py
@@ -21,16 +21,22 @@ from django.conf.urls import url, include
from django_pgpmailman.views.list import (
pgp_list_index, pgp_list_summary, pgp_list_pubkey, pgp_list_key_management,
- ListSignatureSettingsView, ListEncryptionSettingsView)
+ ListSignatureSettingsView, ListEncryptionSettingsView,
+ ListMiscSettingsView)
from django_pgpmailman.views.user import pgp_user_profile
list_patterns = [
url(r'^$', pgp_list_summary, name='pgp_list_summary'),
url(r'^key/$', pgp_list_key_management, name='pgp_list_key_management'),
- url(r'^signatures/$', ListSignatureSettingsView.as_view(),
+ url(r'^signatures/$', ListSignatureSettingsView.as_view(
+ success_url='pgp_list_signature_settings'),
name='pgp_list_signature_settings'),
- url(r'^encryption/$', ListEncryptionSettingsView.as_view(),
+ url(r'^encryption/$', ListEncryptionSettingsView.as_view(
+ success_url='pgp_list_encryption_settings'),
name='pgp_list_encryption_settings'),
+ url(r'^misc/$',
+ ListMiscSettingsView.as_view(success_url='pgp_list_misc_settings'),
+ name='pgp_list_misc_settings'),
url(r'^pubkey$', pgp_list_pubkey, name='pgp_list_pubkey')
]