[Django] 오류 집합

RuntimeError at /home/register_over
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 localhost:8000/home/register_over/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.

마지막에 "/"를 붙인다.
APPEND_SLASH
기본값: True
URL에 끝 슬래시를 추가할지 여부.이 옵션은 CommonMiddleware가 설치된 경우에만 작동합니다.(middleware 문서 참조).PREPEND 참조WWW.

좋은 웹페이지 즐겨찾기