1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django.urls import path
5 from django.views.generic import RedirectView
9 path('form/', RedirectView.as_view(url='/pomagam/')),
10 path('app-form/', RedirectView.as_view(url='/pomagam/?pk_campaign=aplikacja')),
12 path('return/<key>/', views.paypal_return, name='paypal_return'),
13 path('app-return/<key>/', views.paypal_return, kwargs={'app': True}, name='paypal_app_return'),
14 path('cancel/', views.paypal_cancel, name='paypal_cancel'),