user signup

This commit is contained in:
2020-03-09 21:41:52 -07:00
parent 7e3d84e2fc
commit 4681cef584
8 changed files with 71 additions and 11 deletions

View File

@ -0,0 +1,4 @@
{% extends 'base.html' %}
{% block content %}
HI
{% endblock %}

View File

@ -0,0 +1,4 @@
{% extends 'base.html' %}
{% block content %}
HI
{% endblock %}

View File

@ -0,0 +1,25 @@
{% extends 'base.html' %}
{% block content %}
{% if error %}
{{ error }}
<br />
<br />
{% endif %}
<h1>Sign Up!</h1>
<form method="POST" action="{% url 'signup' %}">
{% csrf_token %}
Username:
<br/>
<input type="text" name="username"/>
<br/>
Password:
<br/>
<input type="password" name="password1"/>
<br/>
Confirm Password:
<br/>
<input type="password" name="password2"/>
<br/><br/>
<input type="submit" value="Sign Up!" class="btn btn-primary">
</form>
{% endblock %}