X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/65c9feda79d2b2c94cb7dcd561318a83fd796f0a..1227b1201c537ea17e310f0faab4ead7cf0d25af:/src/club/urls.py?ds=inline diff --git a/src/club/urls.py b/src/club/urls.py index 844359b9c..a2dfbb966 100644 --- a/src/club/urls.py +++ b/src/club/urls.py @@ -1,20 +1,24 @@ +# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# from django.conf.urls import url +from annoy.utils import banner_exempt from . import views urlpatterns = [ - url(r'^$', views.JoinView.as_view(), name='club_join'), - url(r'^info/$', views.ClubView.as_view(), name='club'), + url(r'^$', banner_exempt(views.JoinView.as_view()), name='club_join'), + url(r'^info/$', banner_exempt(views.ClubView.as_view()), name='club'), - url(r'^plan/(?P[-a-z0-9]+)/$', views.ScheduleView.as_view(), name='club_schedule'), - url(r'^plan/(?P[-a-z0-9]+)/dziekujemy/$', views.ScheduleThanksView.as_view(), name='club_thanks'), + url(r'^plan/(?P[-a-z0-9]+)/$', banner_exempt(views.ScheduleView.as_view()), name='club_schedule'), + url(r'^plan/(?P[-a-z0-9]+)/dziekujemy/$', banner_exempt(views.ScheduleThanksView.as_view()), name='club_thanks'), url(r'^przylacz/(?P[-a-z0-9]+)/$', views.claim, name='club_claim'), url(r'^anuluj/(?P[-a-z0-9]+)/$', views.cancel, name='club_cancel'), url(r'^testowa-platnosc/(?P[-a-z0-9]+)/$', views.DummyPaymentView.as_view(), name='club_dummy_payment'), - url(r'platnosc/payu/cykl/(?P.+)/', views.PayURecPayment.as_view(), name='club_payu_rec_payment'), - url(r'platnosc/payu/(?P.+)/', views.PayUPayment.as_view(), name='club_payu_payment'), + url(r'platnosc/payu/cykl/(?P.+)/', banner_exempt(views.PayURecPayment.as_view()), name='club_payu_rec_payment'), + url(r'platnosc/payu/(?P.+)/', banner_exempt(views.PayUPayment.as_view()), name='club_payu_payment'), url(r'notify/(?P\d+)/', views.PayUNotifyView.as_view(), name='club_payu_notify'),