diff options
| author | J08nY | 2017-08-12 01:49:35 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-12 01:49:35 +0200 |
| commit | 9e33fdaea8eaf5825542254afb55f25c1a63fc6b (patch) | |
| tree | 2f0a7fe44eab13f9746ead7da5a60b1f03d0adfe /src/django_pgpmailman/urls.py | |
| parent | b6df3c3cdcb4ca25b48cc316502ec39482afe20e (diff) | |
| download | django-pgpmailman-9e33fdaea8eaf5825542254afb55f25c1a63fc6b.tar.gz django-pgpmailman-9e33fdaea8eaf5825542254afb55f25c1a63fc6b.tar.zst django-pgpmailman-9e33fdaea8eaf5825542254afb55f25c1a63fc6b.zip | |
Diffstat (limited to 'src/django_pgpmailman/urls.py')
| -rw-r--r-- | src/django_pgpmailman/urls.py | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/django_pgpmailman/urls.py b/src/django_pgpmailman/urls.py index d10fa1c..a5620f1 100644 --- a/src/django_pgpmailman/urls.py +++ b/src/django_pgpmailman/urls.py @@ -19,15 +19,27 @@ from __future__ import absolute_import, unicode_literals from django.conf.urls import url, include -from django_pgpmailman.views.list import (pgp_list_index, pgp_list_summary, - pgp_list_pubkey) +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) +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, + name='pgp_list_signature_settings'), + url(r'^encryption/$', pgp_list_encryption_settings, + name='pgp_list_encryption_settings'), url(r'^pubkey$', pgp_list_pubkey, name='pgp_list_pubkey') ] +user_patterns = [ + url(r'^$', pgp_user_profile, name='pgp_user_profile') +] + urlpatterns = [ url(r'^$', pgp_list_index, name='pgp_list_index'), - url(r'^lists/(?P<list_id>[^/]+)/', include(list_patterns)) + url(r'^lists/(?P<list_id>[^/]+)/', include(list_patterns)), + url(r'^accounts/', include(user_patterns)) ] |
