I am newbie to Django and i need help to solve this problem. It states that cannot resolve file'signup'.
<h3>Create your account!</h3>
<form method="post" action="/signup">
{% csrf_token %}
<div >
<label for="username">Username</label>
<input type="text" id="username" name="username" placeholder="Create A Username (use only letters and numbers)" Required>
</div>
CodePudding user response:
You need to have a button to submit.
<input type="submit">
CodePudding user response:
Try that :
<h3>Create your account!</h3>
<form method="post" action="/signup">
{% csrf_token %}
<div >
<label for="username">Username</label>
<input type="text" id="username" name="username" placeholder="Create A Username (use only letters and numbers)" Required>
</div>
<input type="submit">
</form>
Your form was not a valid one and was not submitting anything.