码迷,mamicode.com
首页 > 其他好文 > 详细

日常错误积累

时间:2015-08-27 18:44:13      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:

RuntimeError Root Cause


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 192.168.1.59:8000/items/add_item/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.

解释:最后未加/

版权声明:本文为博主原创文章,未经博主允许不得转载。

日常错误积累

标签:

原文地址:http://blog.csdn.net/dale_dede/article/details/48030963

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!