RuntimeError at /network/ips
You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to 10.2.8.111:9999/network/ips/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.
这种情况是因为post请求的url 最后‘/’的问题,调整即可
阅读(842) | 评论(0) | 转发(0) |