28cf959319ad347477448317339fac9999ea8a25
[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 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     path('testowa-platnosc/<key>/', views.DummyPaymentView.as_view(), name='club_dummy_payment'),
25
26     path('platnosc/payu/cykl/<key>/', banner_exempt(views.PayURecPayment.as_view()), name='club_payu_rec_payment'),
27     path('platnosc/payu/<key>/', banner_exempt(views.PayUPayment.as_view()), name='club_payu_payment'),
28
29     path('notify/<int:pk>/', views.PayUNotifyView.as_view(), name='club_payu_notify'),
30
31     path('weryfikacja/', views.member_verify, name='club_member_verify'),
32 ]