fix
[wolnelektury.git] / src / funding / urls.py
1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
3 #
4 from django.conf.urls import url, include
5 from . import views
6
7
8 urlpatterns = [
9     url(r'^$', views.CurrentView.as_view(), name='funding_current'),
10     url(r'^teraz/$', views.CurrentView.as_view()),
11     url(r'^teraz/(?P<slug>[^/]+)/$', views.CurrentView.as_view(), name='funding_current'),
12     url(r'^lektura/$', views.OfferListView.as_view(), name='funding'),
13     url(r'^lektura/(?P<slug>[^/]+)/$', views.OfferDetailView.as_view(), name='funding_offer'),
14     url(r'^pozostale/$', views.WLFundView.as_view(), name='funding_wlfund'),
15
16     url(r'^dziekujemy/$', views.ThanksView.as_view(), name='funding_thanks'),
17     url(r'^niepowodzenie/$', views.NoThanksView.as_view(), name='funding_nothanks'),
18
19     url(r'^wylacz_email/$', views.DisableNotifications.as_view(), name='funding_disable_notifications'),
20
21     url(r'^getpaid/', include('getpaid.urls')),
22 ]