X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/74f7584b18b4386433b4c02336f5adafcae530c5..2c101e78aee8cd3ccf3f24a0ecaa22fa77593c5c:/src/paypal/urls.py diff --git a/src/paypal/urls.py b/src/paypal/urls.py index 7adf644a2..4bd64e29e 100644 --- a/src/paypal/urls.py +++ b/src/paypal/urls.py @@ -1,14 +1,15 @@ -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django.urls import path 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('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'),