From de3e07dedb61f7008fcd99b05e92c03acd9c97b6 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Thu, 28 Dec 2017 19:20:28 +0100 Subject: [PATCH] add templates to support user authentication --- .../webshop/templates/registration/logged_out.html | 6 ++++++ .../webshop/templates/registration/login.html | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 django/didgeridoo/webshop/templates/registration/logged_out.html create mode 100644 django/didgeridoo/webshop/templates/registration/login.html diff --git a/django/didgeridoo/webshop/templates/registration/logged_out.html b/django/didgeridoo/webshop/templates/registration/logged_out.html new file mode 100644 index 0000000..866f568 --- /dev/null +++ b/django/didgeridoo/webshop/templates/registration/logged_out.html @@ -0,0 +1,6 @@ +{% extends 'webshop/base.html' %} + +{% block section_title %}You have been successfully logged out.{% endblock %} + +{% block content %} +{% endblock %} diff --git a/django/didgeridoo/webshop/templates/registration/login.html b/django/didgeridoo/webshop/templates/registration/login.html new file mode 100644 index 0000000..1d51a55 --- /dev/null +++ b/django/didgeridoo/webshop/templates/registration/login.html @@ -0,0 +1,11 @@ +{% extends 'webshop/base.html' %} + +{% block section_title %}Login{% endblock %} + +{% block content %} +
+ {% csrf_token %} + {{ form.as_p }} + +
+{% endblock %}