Chinaunix首页 | 论坛 | 博客
  • 博客访问: 34046
  • 博文数量: 9
  • 博客积分: 225
  • 博客等级: 二等列兵
  • 技术积分: 110
  • 用 户 组: 普通用户
  • 注册时间: 2012-12-06 16:45
个人简介

木有

文章分类
文章存档

2013年(4)

2012年(5)

我的朋友

分类: 系统运维

2012-12-13 15:12:23

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 最后‘/’的问题,调整即可
阅读(803) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~