Задать вопрос

Тел: +7 965 3737 888

539

Просмотров

2

Ответов

ajax protocol for data

<p>Can be used for create a json format response data. Just like:</p>
{response:'ok', next:'nexturl', message:'response message', data:'returned data'}

<p>for success.</p>
{response:'fail', next:'nexturl', message:'response message', error:'error messages'}

<p>for failure.</p>
<p>And there are some dump function:</p>
<p>json - dump a python variable into json format string</p>
<p>json_response - dump a python variable into json format string, and then use it create a HttpResponse object.</p>

Вопрос полезен? Да0/Нет0
file_4291.py(3.0Кб)
None

Ответы (2):

Ответlimodou:26.02.2007
Ответ полезен? Да0/Нет0

thanks

Ответrubic:26.02.2007
Ответ полезен? Да0/Нет0

title typo:[HTML_REMOVED] < ajax protocal for data[HTML_REMOVED]

ajax protocol for data