added models

This commit is contained in:
Boyan
2021-09-12 17:26:57 +03:00
parent 152764ed33
commit 1df0c86050
22 changed files with 468 additions and 3 deletions

View File

@ -0,0 +1,20 @@
{% extends 'base.html' %}
{% block title %}Enter new password{% endblock %}
{% block content %}
{% if validlink %}
<h1>Set a new password!</h1>
<form method="POST">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Change my password">
</form>
{% else %}
<p>The password reset link was invalid, possibly because it has already been used. Please request a new password reset.</p>
{% endif %}