Spaces:
Sleeping
Sleeping
| from django.urls import path | |
| from .views import * | |
| urlpatterns = [ | |
| path('', HomeView.as_view(), name='home'), | |
| path('barcode/<str:code>', BarCodeView.as_view(), name='home'), | |
| path('establishments', EstablishmentListView.as_view(), name='establishment_List'), | |
| path('resources-forward/<str:resource_name>/<str:image_id>', resources_forward, name='resources_forward'), | |
| path('product-category', product_category, name='product_category'), | |
| path('coupon-list', CouponListView.as_view(), name='coupon_List'), | |
| path('coupon-redeem', CouponRedeemView.as_view(), name='coupon_redeem'), | |
| path('product-list', ProductListView.as_view(), name='product_List'), | |
| path('best-sellers', BestSellersView.as_view(), name='best_sellers'), | |
| path('home-images', ImagesView.as_view(), name='ImagesView'), | |
| ] |