Mudanza de repo
This commit is contained in:
15
api/vucem/urls.py
Normal file
15
api/vucem/urls.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from django.urls import path, include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from .views import VucemView, CredencialesImportadorViewSet
|
||||
# Create a router and register your viewsets with it
|
||||
router = DefaultRouter()
|
||||
|
||||
|
||||
# Register your viewsets with the router here
|
||||
|
||||
router.register(r'vucem', VucemView, basename='Vucem')
|
||||
router.register(r'usuario-importador', CredencialesImportadorViewSet, basename='CredencialesImportador')
|
||||
urlpatterns = [
|
||||
path('', include(router.urls)),
|
||||
]
|
||||
Reference in New Issue
Block a user