set authenticaton for api resources
[wolnelektury.git] / src / newsletter / urls.py
1 # -*- coding: utf-8 -*-
2 from django.conf.urls import url
3 from . import views
4
5 urlpatterns = [
6     url(r'^zapisz-sie/$', views.subscribe_form, name='subscribe'),
7     url(r'^zapis/$', views.subscribed, name='subscribed'),
8     url(r'^potwierdzenie/(?P<subscription_id>[0-9]+)/(?P<hashcode>[0-9a-f]+)/$',
9         views.confirm_subscription, name='confirm_subscription'),
10     url(r'^wypisz-sie/$', views.unsubscribe_form, name='unsubscribe'),
11     url(r'^wypisano/$', views.unsubscribed, name='unsubscribed'),
12 ]