9 lines
281 B
Python
9 lines
281 B
Python
from django.urls import path
|
|
|
|
from .views import RedeemDiscountView, ValidateDiscountView
|
|
|
|
urlpatterns = [
|
|
path('discount/validate', ValidateDiscountView.as_view(), name='discount-validate'),
|
|
path('discount/redeem', RedeemDiscountView.as_view(), name='discount-redeem'),
|
|
]
|