Sunday, May 16, 2021
Saturday, May 15, 2021
Django - Simple Registration Form
Django - Simple Registration Form
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<p>Register</p>
<form method="POST" action="">
{% csrf_token %}
{{form.username.label}}
{{form.username}}
{{form.email.label}}
{{form.email}}
{{form.password1.label}}
{{form.password1}}
{{form.password2.label}}
{{form.password2}}
<input type="submit" name="new_user">
</form>
</head>
<body>
</body>
</html>
Subscribe to:
Posts (Atom)