X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/8952b9530d943655e552ea660c47e850123c5105..ab6d1311a5ddff7151ff0c574a202a7bcd0dfcc0:/src/paypal/urls.py?ds=sidebyside diff --git a/src/paypal/urls.py b/src/paypal/urls.py index aca891850..cc4523f9b 100644 --- a/src/paypal/urls.py +++ b/src/paypal/urls.py @@ -6,10 +6,11 @@ from django.views.generic import RedirectView from . import views urlpatterns = ( - path('form/', RedirectView.as_view(url='/towarzystwo/dolacz/')), - path('app-form/', RedirectView.as_view(url='/towarzystwo/dolacz/app/')), + path('form/', RedirectView.as_view(url='/pomagam/')), + path('app-form/', RedirectView.as_view(url='/pomagam/?pk_campaign=aplikacja')), - path('return/', views.paypal_return, name='paypal_return'), - path('app-return/', views.paypal_return, kwargs={'app': True}, name='paypal_app_return'), + path('init//', views.paypal_init, name='paypal_init'), + path('return//', views.paypal_return, name='paypal_return'), + path('app-return//', views.paypal_return, kwargs={'app': True}, name='paypal_app_return'), path('cancel/', views.paypal_cancel, name='paypal_cancel'), )