JourneyJoker/payment/voucher/urls.py
Klaus-Uwe Mitterer a3d31c5cc3 Implement PDF generator
Improve mail view
Implement voucher generation
2021-05-31 07:20:27 +02:00

10 lines
293 B
Python

from django.urls import path
from .views import AdminGenerateVoucherView, DownloadVoucherView
app_name = "voucher"
urlpatterns = [
path('generate/', AdminGenerateVoucherView.as_view(), name="generate"),
path('download/<slug:pk>/', DownloadVoucherView.as_view(), name="download"),
]