Banners only for authenticated users.
[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     path('plan/<key>/zestawienie/<int:year>/', banner_exempt(views.YearSummaryView.as_view()), name='club_year_summary'),
16
17     path('przylacz/<key>/', views.claim, name='club_claim'),
18     path('anuluj/<key>/', views.cancel, name='club_cancel'),
19     path('testowa-platnosc/<key>/', views.DummyPaymentView.as_view(), name='club_dummy_payment'),
20
21     path('platnosc/payu/cykl/<key>/', banner_exempt(views.PayURecPayment.as_view()), name='club_payu_rec_payment'),
22     path('platnosc/payu/<key>/', banner_exempt(views.PayUPayment.as_view()), name='club_payu_payment'),
23
24     path('notify/<int:pk>/', views.PayUNotifyView.as_view(), name='club_payu_notify'),
25
26     path('czlonek/', views.MembershipView.as_view(), name='club_membership'),
27
28     path('weryfikacja/', views.member_verify, name='club_member_verify'),
29 ]