Split form intro.
[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.urls import path, include
5 from annoy.utils import banner_exempt
6 from . import views
7
8
9 urlpatterns = [
10     path('', banner_exempt(views.CurrentView.as_view()), name='funding_current'),
11     path('teraz/', banner_exempt(views.CurrentView.as_view())),
12     path('teraz/<slug:slug>/', banner_exempt(views.CurrentView.as_view()), name='funding_current'),
13     path('lektura/', banner_exempt(views.OfferListView.as_view()), name='funding'),
14     path('lektura/<slug:slug>/', banner_exempt(views.OfferDetailView.as_view()), name='funding_offer'),
15     path('pozostale/', banner_exempt(views.WLFundView.as_view()), name='funding_wlfund'),
16
17     path('dziekujemy/', banner_exempt(views.ThanksView.as_view()), name='funding_thanks'),
18     path('niepowodzenie/', banner_exempt(views.NoThanksView.as_view()), name='funding_nothanks'),
19
20     path('wylacz_email/', banner_exempt(views.DisableNotifications.as_view()), name='funding_disable_notifications'),
21
22     path('getpaid/', include('getpaid.urls')),
23 ]