Valueerror At /signup/ The Given Username Must Be Set
so basically I have been building this blogging website and now I am stuck at this point of the Signup process, the whole work is done using django views.py: def handleSignup(reque
Solution 1:
You have to add name
to your input field in HTML:
<div class="form-group">
<labelfor="username">Username</label><inputtype="text"class="form-control"id="username"name="username"placeholder="choose a unique username"></div>
You are not giving name
in any of the input field. Server takes data from the form on the basis of name
, but not id
. So, provide name to each input tag in your form. And, you are good to go.
Post a Comment for "Valueerror At /signup/ The Given Username Must Be Set"