Add Sign Up page

This commit is contained in:
2024-06-28 15:17:58 -04:00
parent 5f8fe95ef1
commit 464aa1ab48
12 changed files with 47 additions and 0 deletions

View File

@@ -12,5 +12,7 @@ Hi {{ user.username }}!
{% else %}
<p>You are not logged in</p>
<a href="{% url 'login' %}">Log In</a>
<br />
<a href="{% url 'signup' %}">Sign Up</a>
{% endif %}
{% endblock %}

View File

@@ -0,0 +1,12 @@
{% extends "base.html" %}
{% block title %}Sign Up{% endblock %}
{%block content %}
<h2>Sign Up</h2>
<form method="post">
{% csrf_token %}
{{ form }}
<button type="submit">Sign Up</button>
</form>
{% endblock %}