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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/django_pgpmailman/urls.py b/src/django_pgpmailman/urls.py
index a5620f1..6a2df63 100644
--- a/src/django_pgpmailman/urls.py
+++ b/src/django_pgpmailman/urls.py
@@ -21,15 +21,15 @@ 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,
- pgp_list_signature_settings, pgp_list_encryption_settings)
+ ListSignatureSettingsView, ListEncryptionSettingsView)
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/$', pgp_list_signature_settings,
+ url(r'^signatures/$', ListSignatureSettingsView.as_view(),
name='pgp_list_signature_settings'),
- url(r'^encryption/$', pgp_list_encryption_settings,
+ url(r'^encryption/$', ListEncryptionSettingsView.as_view(),
name='pgp_list_encryption_settings'),
url(r'^pubkey$', pgp_list_pubkey, name='pgp_list_pubkey')
]