#django
z201323041121
这个作者很懒,什么都没留下…
展开
-
【django】APPEND_SLASH的作用
RuntimeError: 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 127.0.0.1:8000/user/login/ (note the trailing sla原创 2021-12-25 23:15:52 · 963 阅读 · 0 评论 -
【django】URL末尾的斜线问题
RuntimeError: 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 127.0.0.1:8000/user/login/ (note the trailing sla原创 2021-12-25 22:23:44 · 882 阅读 · 0 评论