import - rancher organization linked deploy --> with dashboards of cooperative management oage

This commit is contained in:
2025-12-22 14:38:52 +03:30
parent 65a826ab7f
commit 5eb810893b
9 changed files with 272 additions and 24 deletions

View File

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