Solution of 07

This commit is contained in:
2018-12-12 21:13:07 +01:00
parent b4ac907a6a
commit 5d99369516
5 changed files with 38 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
{% extends 'base.html' %}
{% block title %} Login {% endblock %}
{% block content %}
<div class="container"><form method="post" action="{% url 'login' %}">
{% csrf_token %}
Benutzername: {{ form.username }}
<br>Passwort: {{ form.password }} <br>
<button type="submit" class="btn btn-default">Anmelden</button>
<input type="hidden" name="next" value="{{ next }}" />
</form>
</div>
{% endblock %}