add templates to support user authentication
This commit is contained in:
parent
56e56f0c1c
commit
de3e07dedb
|
@ -0,0 +1,6 @@
|
||||||
|
{% extends 'webshop/base.html' %}
|
||||||
|
|
||||||
|
{% block section_title %}You have been successfully logged out.{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
{% endblock %}
|
|
@ -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 %}
|
Loading…
Reference in New Issue