HttpResponse9.1 Django와 Python을 사용하여 JSON 응답을 생성합니다., Creating a JSON response using Django and Python 질문 I'm trying to convert a server side Ajax response script into a Django HttpResponse, but apparently it's not working. This is the server-side script: /* RECEIVE VALUE */ $validateValue=$_POST['validateValue']; $validateId=$_POST['validateId']; $validateError=$_POST['validateError']; /* RETURN VALUE */ $arrayToJs = array(); $arrayToJs[0] = $validateId; $arrayToJs[1] = $validateError; if($valid.. 2023. 9. 18. 이전 1 다음