python - Django recive array ajax problem -
i'm sending array via post reqest django server if use dev server, see
<querydict: {u'arr[]': [u'1', u'2']}>
if send apache+mod_wsgi sever, see
<querydict: {u'arr[]': [u'2']}>
olny last item, ideas?
upd: dev sever on local pc, if apache+mod_wsgi on local pc fine, if on remote - last item
my solution: serialize array json2
json.stringify(my_array)
and deserialize
import json json.loads(str)
Comments
Post a Comment