由于端口不同,因此将其视为跨源请求。您必须
Access-Control-Allow-Origin在所请求的脚本中设置标题。
学到更多:
http://enable-cors.org/server.html
或者,专门针对django:
http://chase-seibert.github.io/blog/2012/01/27/using-access-control-allow-
origin-to-make-cross-domain-post-requests-from-javsacript.html



