numerous improvements

This commit is contained in:
Ross
2020-12-09 22:59:07 +00:00
parent 55cb599364
commit d7766a7d95
15 changed files with 146 additions and 9 deletions
+18
View File
@@ -0,0 +1,18 @@
{% extends 'base.html' %}
{% block content %}
<div class="anatomy">
<h1>Your profile</h1>
<div>
Username: {{ user.username }}
</div>
<div>
Email: {{ user.email }}
</div>
<div>
Name: {{ user.first_name }}
{{ user.last_name }}
</div>
<a href="{% url 'password_change'%}">Change password</a>
</div>
{% endblock %}
+14
View File
@@ -0,0 +1,14 @@
{% extends '../anatomy/base.html' %}
{% block title %}Login{% endblock %}
{% block content %}
<h2>Login</h2>
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Login</button>
</form>
<p><a href="{% url 'password_reset' %}">Reset password</a></p>
<p><a href="{% url 'password_change' %}">Change password</a></p>
{% endblock %}