add templates to support user authentication

This commit is contained in:
Andreas Zweili 2017-12-28 19:20:28 +01:00
parent 56e56f0c1c
commit de3e07dedb
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{% extends 'webshop/base.html' %}
{% block section_title %}You have been successfully logged out.{% endblock %}
{% block content %}
{% endblock %}

View File

@ -0,0 +1,11 @@
{% extends 'webshop/base.html' %}
{% block section_title %}Login{% endblock %}
{% block content %}
<form method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Login</button>
</form>
{% endblock %}