add book authors in hint list
[wolnelektury.git] / src / newsletter / urls.py
index 566f777..a34d98c 100644 (file)
@@ -3,5 +3,10 @@ from django.conf.urls import url
 from . import views
 
 urlpatterns = [
 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<subscription_id>[0-9]+)/(?P<hashcode>[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'),
 ]
 ]