Added form for users to delete their accounts.

Closes #10
This commit is contained in:
Johannes Erwerle 2026-10-02 20:32:37 +02:00
parent 16fe53cd32
commit dc0149560c
6 changed files with 76 additions and 1 deletions

View file

@ -58,6 +58,7 @@
<button type="submit" class="navbar-item">Logout</button>
</form>
<a class="navbar-item" href="{% url 'password_change' %}">Change Password</a>
<a class="navbar-item" href="{% url 'delete' %}">Delete Account</a>
{% if user.is_staff %}
<hr class="navbar-divider">
<a class="navbar-item" href="{% url 'admin:index' %}">Admin</a>