15 lines
537 B
Python
15 lines
537 B
Python
from django.urls import path
|
|
from django.views.generic import TemplateView
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
path('', views.sustainers, name='sustainers'),
|
|
path('banner/', TemplateView.as_view(template_name='supporters/banners.html')),
|
|
path('banners/', TemplateView.as_view(template_name='supporters/banners.html')),
|
|
path('success/', views.success),
|
|
path('webhook/', views.webhook),
|
|
# TODO
|
|
path('stripe/', views.sustainers_stripe),
|
|
path('paypal/', views.sustainers_paypal, name='sustainer_paypal'),
|
|
]
|