Only formalities.
[wolnelektury.git] / src / club / urls.py
1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
3 #
4 from django.urls import path
5 from django.views.generic import RedirectView
6 from annoy.utils import banner_exempt
7 from . import views
8
9
10 urlpatterns = [
11     path('', banner_exempt(views.JoinView.as_view()), name='club_join'),
12     path('dolacz/', RedirectView.as_view(
13         url='/pomagam/', permanent=False)),
14     path('info/', banner_exempt(views.ClubView.as_view()), name='club'),
15
16     path('plan/<key>/', banner_exempt(views.ScheduleView.as_view()), name='club_schedule'),
17     path('plan/<key>/dziekujemy/', banner_exempt(views.ScheduleThanksView.as_view()), name='club_thanks'),
18     path('plan/<key>/zestawienie/<int:year>/', banner_exempt(views.YearSummaryView.as_view()), name='club_year_summary'),
19     path('plan/<key>/rodzaj/', banner_exempt(views.DonationStep1.as_view()), name='donation_step1'),
20     path('plan/<key>/dane/', banner_exempt(views.DonationStep2.as_view()), name='donation_step2'),
21
22     path('przylacz/<key>/', views.claim, name='club_claim'),
23     path('anuluj/<key>/', views.cancel, name='club_cancel'),
24
25     path('platnosc/payu/cykl/<key>/', banner_exempt(views.PayURecPayment.as_view()), name='club_payu_rec_payment'),
26     path('platnosc/payu/<key>/', banner_exempt(views.PayUPayment.as_view()), name='club_payu_payment'),
27
28     path('notify/<int:pk>/', views.PayUNotifyView.as_view(), name='club_payu_notify'),
29
30     path('weryfikacja/', views.member_verify, name='club_member_verify'),
31 ]