Require login by default
Some checks failed
Django CI/CD / test (push) Failing after 1m1s
Django CI/CD / build-and-push (push) Has been skipped

This commit is contained in:
2024-02-09 22:03:18 +01:00
parent d02a60675f
commit 081b8a92de
6 changed files with 52 additions and 1 deletions

View File

@ -0,0 +1,21 @@
{% extends "base.html" %}
{% load static %}
{% block title %}
Login
{% endblock title %}
{% block content %}
<h2 class="text-3xl text-white mb-8 mx-auto text-center">Please log in to continue</h2>
<form method="post">
<table class="mx-auto">
{% csrf_token %}
{{ form.as_table }}
<tr>
<td></td>
<td>
<input type="submit" value="Login" />
</td>
</tr>
</form>
</table>
{% endblock content %}