11 lines
293 B
Python
11 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"),
|
||
|
]
|