fix - remove child_total / not self.instanceto validate in distribution serializer
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user