Add Button to Log out on home page, configure redirects after logout

This commit is contained in:
jvs
2025-01-20 19:27:59 +01:00
parent be70a43280
commit 7448c853fc
2 changed files with 5 additions and 1 deletions

View File

@@ -7,5 +7,9 @@
</head>
<body>
<h1>Moin moin!</h1>
<form action="{% url 'logout' %}" method="post">
{% csrf_token %}
<button type="submit">Abmelden</button>
</form>
</body>
</html>