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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -