add new fields to rancher

This commit is contained in:
2025-08-19 09:03:41 +03:30
parent b64c28b6d1
commit 14cd349a7d
15 changed files with 459 additions and 82 deletions

View File

@@ -0,0 +1,11 @@
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import api
router = DefaultRouter()
router.register(r'herd', api.HerdViewSet, basename='herd')
router.register(r'rancher', api.RancherViewSet, basename='rancher')
urlpatterns = [
path('api/v1/', include(router.urls))
]