JourneyJoker/payment/voucher/urls.py

11 lines
293 B
Python
Raw Normal View History

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"),
]