from django.urls import path from .views import ( MyOffersView, RedeemDiscountView, RedeemOfferCodeView, ValidateDiscountView, ) urlpatterns = [ path('discount/validate', ValidateDiscountView.as_view(), name='discount-validate'), path('discount/redeem', RedeemDiscountView.as_view(), name='discount-redeem'), path('discount/offers/redeem', RedeemOfferCodeView.as_view(), name='discount-offer-redeem'), path('discount/offers/mine', MyOffersView.as_view(), name='discount-offer-mine'), ]