X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9e05900b7692f2d2a484edb33df69e8519e52131..3cafbab0ff3cbfee274d9735b89e790babb52c3f:/src/newsletter/urls.py diff --git a/src/newsletter/urls.py b/src/newsletter/urls.py index 566f777f4..c99b47a43 100644 --- a/src/newsletter/urls.py +++ b/src/newsletter/urls.py @@ -1,7 +1,14 @@ -# -*- coding: utf-8 -*- +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# from django.conf.urls import url from . import views urlpatterns = [ - url(r'^wypisz-sie/$', views.unsubscribe, name='unsubscribe'), + url(r'^zapisz-sie/$', views.subscribe_form, name='subscribe'), + url(r'^zapis/$', views.subscribed, name='subscribed'), + url(r'^potwierdzenie/(?P[0-9]+)/(?P[0-9a-f]+)/$', + views.confirm_subscription, name='confirm_subscription'), + url(r'^wypisz-sie/$', views.unsubscribe_form, name='unsubscribe'), + url(r'^wypisano/$', views.unsubscribed, name='unsubscribed'), ]