Add Button to Log out on home page, configure redirects after logout
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user