Re: Get a list into request.POST

2013-08-23 Thread Nick Jiang
hi, you should consider of using JSON.stringify() function to convert javascript object to json data. *>>* * JSON.stringify({'array':[{'que':1,'ans':3},{'que':1,'ans':2},{'que':4,'ans':5},{'que':2,'ans':4}]}) * **This is example build from jsfiddle *>> alert example

how to turn off logging debug to be printed in apache's error log when django's DEBUG=False

2013-09-09 Thread Nick Jiang
I have set a debug logger to print debug infos to console. This works fine in development environment. But in production, debug info redirect to apache error log file, i guess this is one behaviour related to mod_wsgi. People say there's a setting control in django 1.5 version, but how can i tu