Django 那些错
1、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/do_register/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.
我把表单的提交方式改为‘post’后,也加上了 {% csr_token % }, 结果出现了上面的错,原来是action路由少了最后的斜线,应为:”/user/do_register/“ 但是get 方式就不需要也行。。。