first commit
This commit is contained in:
16
Movement/Urls/urlsProduct.py
Normal file
16
Movement/Urls/urlsProduct.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from django.urls import path
|
||||
# from django.contrib.auth import views as auth_views
|
||||
from Movement.Views import (
|
||||
viewsProduct ,
|
||||
viewsProductCreateCustom
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
# URLs de Professional
|
||||
path('/', viewsProduct.ProductListView.as_view(), name='MovProductListView'),
|
||||
# path('/Create', viewsProduct.ProductCreateView.as_view(), name='MovProductCreateView'),
|
||||
path('/<int:pk>/Detail', viewsProduct.ProductDetailView.as_view(), name='MovProductDetailView'),
|
||||
path('/<int:pk>/Update', viewsProduct.ProductUpdateView.as_view(), name='MovProductUpdateView'),
|
||||
path('/<int:pk>/Delete', viewsProduct.ProductDeleteView.as_view(), name='MovProductDeleteView'),
|
||||
path('/CreateCuston', viewsProductCreateCustom.ProductCreateCustomView.as_view(), name='MovProductCreateCustom'),
|
||||
]
|
||||
Reference in New Issue
Block a user