1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django.urls import path, include
5 from annoy.utils import banner_exempt
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'),
17 path('dziekujemy/', banner_exempt(views.ThanksView.as_view()), name='funding_thanks'),
18 path('niepowodzenie/', banner_exempt(views.NoThanksView.as_view()), name='funding_nothanks'),
20 path('wylacz_email/', banner_exempt(views.DisableNotifications.as_view()), name='funding_disable_notifications'),
21 path('przylacz/<key>/', banner_exempt(views.claim), name='funding_claim'),
23 path('notify/<int:pk>/', views.PayUNotifyView.as_view(), name='funding_payu_notify'),