0

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

+2

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

0

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