16 lines
805 B
Python
16 lines
805 B
Python
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'),
|
|
] |