fix - remove child_total / not self.instanceto validate in distribution serializer

This commit is contained in:
2025-11-12 14:22:51 +03:30
parent 3a9534e3e5
commit 3c341b4c3f
2 changed files with 4 additions and 4 deletions

View File

@@ -149,5 +149,5 @@ class RancherViewSet(viewsets.ModelViewSet, DynamicSearchMixin):
return Response(serializer.data, status=status.HTTP_200_OK)
else:
return Response({
"message": "rancher has not existence"
"message": "دامدار با کد ملی مد نظر وجود ندارد" # noqa
}, status=status.HTTP_404_NOT_FOUND)