fix: part of functionality has taken from ContractView to ContractRelationsViewSet

This commit is contained in:
2025-08-06 09:47:41 +05:00
parent 8de652c57b
commit 59d1fe4a9a
4 changed files with 17 additions and 9 deletions

View File

@@ -7,11 +7,11 @@ router = DefaultRouter()
router.register(r"contract-attached-files", views.ContractAttachedFileView, "contract-attached-files") # type: ignore
router.register(r"contracts", views.ContractView, "contracts") # type: ignore
router.register(r"contracts", views.ContractRelationsViewSet, "contract-relations") # type: ignore
router.register(r"contract-file-contents", views.ContractFileContentView, "contract-file-contents") # type: ignore
router.register(r"contract-owners", views.ContractOwnerView, "contract-owners") # type: ignore
router.register(r"contract-owners", views.ContractOwnerFileViewSet, "contract-owner-files") # type: ignore
urlpatterns = [ # type: ignore
path("", include(router.urls)), # type: ignore
path(