From c0f72b8c7062eceda834beae57efbe95d94eb4f9 Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Sun, 22 Jan 2017 18:38:52 +0100 Subject: Mécanismes d'abonnement et de désabonnement --- urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urls.py') diff --git a/urls.py b/urls.py index 46a15cc..1805bb0 100644 --- a/urls.py +++ b/urls.py @@ -5,4 +5,6 @@ from . import views urlpatterns = [ url(r"^$", views.index, name="index"), url(r"^(?P[-\w]+)/(?P[0-9]{4})/(?P[0-53]{1,2})/(?P[-\w]+)/$", views.timetable, name="timetable"), + url(r"^subscriptions/confirm/(?P[0-9a-f]{40})$", views.confirm_subscription, name="confirm"), + url(r"^subscriptions/cancel/(?P[0-9a-f]{40})$", views.cancel_subscription, name="cancel"), ] -- cgit v1.2.1