Table of contents

    에러현상

    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/account/signup/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.

     

    변경전

    <form method="post" action="/account/signup">

     

    변경후

    <form method="post" action="/account/signup/">

    '소프트웨어 > Django(Python)' 카테고리의 다른 글

    Django Debug 끄기  (0) 2024.05.26
    Djnago Frontend 변화가 바로 적용 안될 때  (0) 2024.05.26