How to i add my django user validation check to my own designed form, without making use of django form.

Django User

4/5/2020 11:46:00 AM

Meshach Philips

2 Answers

New Answer


Its not mandatory to use django form, you can just create a HTML form <form method="post"> <input type="text" name="username" \> </form> Then inside the view corresponding to the form, make refrrence by name if request.method == "POST": username = request.POST["username"] # valid username If username == "hello": # do something


Are you on whatsapp.. Because i will need more instruction on this