Cite/banner/carousel change.
[wolnelektury.git] / src / club / urls.py
index dcefc22..844359b 100644 (file)
@@ -3,13 +3,20 @@ from . import views
 
 
 urlpatterns = [
 
 
 urlpatterns = [
-    url(r'^$', views.ClubView.as_view()),
-    url(r'^dolacz/$', views.JoinView.as_view(), name='club_join'),
-    url(r'^dolacz/app/$', views.AppJoinView.as_view(), name='club_join'),
+    url(r'^$', views.JoinView.as_view(), name='club_join'),
+    url(r'^info/$', views.ClubView.as_view(), name='club'),
 
     url(r'^plan/(?P<key>[-a-z0-9]+)/$', views.ScheduleView.as_view(), name='club_schedule'),
 
     url(r'^plan/(?P<key>[-a-z0-9]+)/$', views.ScheduleView.as_view(), name='club_schedule'),
+    url(r'^plan/(?P<key>[-a-z0-9]+)/dziekujemy/$', views.ScheduleThanksView.as_view(), name='club_thanks'),
+
     url(r'^przylacz/(?P<key>[-a-z0-9]+)/$', views.claim, name='club_claim'),
     url(r'^anuluj/(?P<key>[-a-z0-9]+)/$', views.cancel, name='club_cancel'),
     url(r'^przylacz/(?P<key>[-a-z0-9]+)/$', views.claim, name='club_claim'),
     url(r'^anuluj/(?P<key>[-a-z0-9]+)/$', views.cancel, name='club_cancel'),
-
     url(r'^testowa-platnosc/(?P<key>[-a-z0-9]+)/$', views.DummyPaymentView.as_view(), name='club_dummy_payment'),
     url(r'^testowa-platnosc/(?P<key>[-a-z0-9]+)/$', views.DummyPaymentView.as_view(), name='club_dummy_payment'),
+
+    url(r'platnosc/payu/cykl/(?P<key>.+)/', views.PayURecPayment.as_view(), name='club_payu_rec_payment'),
+    url(r'platnosc/payu/(?P<key>.+)/', views.PayUPayment.as_view(), name='club_payu_payment'),
+
+    url(r'notify/(?P<pk>\d+)/', views.PayUNotifyView.as_view(), name='club_payu_notify'),
+
+    url(r'czlonek/', views.MembershipView.as_view(), name='club_membership'),
 ]
 ]