Форум сайта python.su
хром показывает совершенно дикие вещи…
я посмотрел дебаггер и увидел, что после отправки аякс-запроса не могут быть обработаны 2 запроса:
jquery.min.map и /change_profile/
при этом вообще не понятно при чём здесь jquery.min.map . я нигде его не подключал и даже не знаю что это.
детализация такая:
для jquery.min.map
headers:
Remote Address:127.0.0.1:8000
Request URL:http://localhost:8000/static/zapsum/js/jquery/jquery.min.map
Request Method:GET
Status Code:404 NOT FOUND
preview:
Page not found (404)
Request Method: GET
Request URL: http://localhost:8000/static/zapsum/js/jquery/jquery.min.map
response:
<table class="meta">
<tr>
<th>Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://localhost:8000/static/zapsum/js/jquery/jquery.min.map</td>
</tr>
</table>
headers:
Remote Address:127.0.0.1:8000
Request URL:http://localhost:8000/change_profile/
Request Method:POST
Status Code:500 INTERNAL SERVER ERROR
preview:
NameError at /change_profile/name ‘json’ is not definedRequest Method: POSTRequest URL: http://localhost:8000/change_profile/Django Version: 1.6.5Python
response:
NameError at /change_profile/
name 'json' is not defined
Request Method: POST
Request URL: http://localhost:8000/change_profile/
Django Version: 1.6.5
Python Executable: /home/kalinins/.virtualenvs/zapsum/bin/python
Python Version: 3.4.0
Офлайн