tastypie를 사용하여 장고에 데이터를 게시하는 앱을 시작했습니다. 그러나 HTTP 403 금지 오류가 표시됩니다. 그 오류를 우회하도록 도와 주시겠습니까?데이터가 포함 된 장고 게시물은 HTTP 403 금지 된 오류를 반환합니다.
편집 : 나는 그 오류를 얻고있다 인해 내 views.py에 urls.py를 바탕으로
</script>
</head>
<body>
<div id="summary">
<h1>MultiValueDictKeyError at /api/recipes/item_new/</h1>
<pre class="exception_value">'Key \'data\' not found in <QueryDict: {u\'{ data:\\n {\\n name: "Something",\\n content: "Anything"\\n }\\n}\\n\': [u\'\']}>'</pre>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>POST</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://localhost:8000/api/recipes/item_new/</td>
</tr>
여러 가지가있을 수 있습니다. 스택 추적을 확인하고 제공 할 수있는 앱 서버의 로그가 없습니까? 아파치/uwsgi/gunicorn 로그 –
Pycharm을 사용하고 있습니다. 스택 추적을 얻는 방법을 알고 있습니까? –