Spaces:
Running
Running
from django.urls import path | |
from modelos_usuarios.views import ( | |
ListCreateModeloUsuarioView, | |
CreateUpdateDeleteModeloUsuarioView, | |
ListModelosPorUsuarioView, | |
) | |
urlpatterns = [ | |
path("modelo", ListCreateModeloUsuarioView.as_view()), | |
path("modelo/<int:pk>", CreateUpdateDeleteModeloUsuarioView.as_view()), | |
path("usuario/<int:user_id>/modelos", ListModelosPorUsuarioView.as_view()), | |
] | |