diff options
| author | J08nY | 2017-08-22 00:58:11 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-22 00:58:11 +0200 |
| commit | 216256f0af673de1d81b10110adf7fa7a5d88f40 (patch) | |
| tree | 49b7e10713d5a3ad91c7f30caa7d702f7d8f3be0 /src/django_pgpmailman/urls.py | |
| parent | bfc7f14b1df86834abf395fdbf11ab54f076dca6 (diff) | |
| download | django-pgpmailman-216256f0af673de1d81b10110adf7fa7a5d88f40.tar.gz django-pgpmailman-216256f0af673de1d81b10110adf7fa7a5d88f40.tar.zst django-pgpmailman-216256f0af673de1d81b10110adf7fa7a5d88f40.zip | |
Diffstat (limited to 'src/django_pgpmailman/urls.py')
| -rw-r--r-- | src/django_pgpmailman/urls.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/django_pgpmailman/urls.py b/src/django_pgpmailman/urls.py index a451e9c..519d5dc 100644 --- a/src/django_pgpmailman/urls.py +++ b/src/django_pgpmailman/urls.py @@ -22,7 +22,8 @@ from django.conf.urls import url, include from django_pgpmailman.views.list import ( pgp_list_index, pgp_list_summary, ListSignatureSettingsView, ListEncryptionSettingsView, - ListMiscSettingsView, ListKeyManagementView, ListPubkey, ListPrivkey) + ListMiscSettingsView, ListKeyManagementView, ListPubkey, ListPrivkey, + ListCreate) from django_pgpmailman.views.user import UserSummaryView list_patterns = [ @@ -50,6 +51,8 @@ user_patterns = [ urlpatterns = [ url(r'^$', pgp_list_index, name='pgp_list_index'), + url(r'^lists/create/$', ListCreate.as_view(success_url='pgp_list_summary'), + name='pgp_list_create'), url(r'^lists/(?P<list_id>[^/]+)/', include(list_patterns)), url(r'^accounts/', include(user_patterns)) ] |
