i am gettin an error "[Errno 5] Input/output error" while running an api on django – CentOS
Django API Code: def post(self,request)-> JsonResponse: try: self.email = request.data['email'] self.mobile = request.data['mobile'] self.password = request.data['password'] except Exception as e: return JsonResponse(create_failure('400',f"invalid payload {e}","fail")) try: res = {} jwt_token = '' if self.email: password = Customer.objects.get(email=self.email).password username = Customer.objects.get(email=self.email).username print(password)…