7a3795a8b50b78c75a36ab2153d465d3c060a90b
[wolnelektury.git] / src / club / 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
5 from annoy.utils import banner_exempt
6 from . import views
7
8
9 urlpatterns = [
10     path('', banner_exempt(views.JoinView.as_view()), name='club_join'),
11     path('info/', banner_exempt(views.ClubView.as_view()), name='club'),
12
13     path('plan/<key>/', banner_exempt(views.ScheduleView.as_view()), name='club_schedule'),
14     path('plan/<key>/dziekujemy/', banner_exempt(views.ScheduleThanksView.as_view()), name='club_thanks'),
15
16     path('przylacz/<key>/', views.claim, name='club_claim'),
17     path('anuluj/<key>/', views.cancel, name='club_cancel'),
18     path('testowa-platnosc/<key>/', views.DummyPaymentView.as_view(), name='club_dummy_payment'),
19
20     path('platnosc/payu/cykl/<key>/', banner_exempt(views.PayURecPayment.as_view()), name='club_payu_rec_payment'),
21     path('platnosc/payu/<key>/', banner_exempt(views.PayUPayment.as_view()), name='club_payu_payment'),
22
23     path('notify/<int:pk>/', views.PayUNotifyView.as_view(), name='club_payu_notify'),
24
25     path('czlonek/', views.MembershipView.as_view(), name='club_membership'),
26 ]