From 25bee550ca83cd994254445967df16070fc4cc8c Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 10 Dec 2012 15:33:26 +0100 Subject: [PATCH] review the login view --- README | 5 ++++- templates/login-view.html | 44 ++++++++++++++------------------------- 2 files changed, 20 insertions(+), 29 deletions(-) diff --git a/README b/README index 18f7ac97..3e2416eb 100644 --- a/README +++ b/README @@ -14,7 +14,10 @@ See devel/ for more devel-oriented doc. much like our past drupal_set_html_head() * auth: - a django 'app' that deals with authentication + a django 'app' that deals with authentication; see especially + auth.backend.MyCustomBackend + for how to use a separate authentication system, + as well as settings.py for how to enable it * slice: a django app for dealing with slice views diff --git a/templates/login-view.html b/templates/login-view.html index 5376577d..1a39cd37 100644 --- a/templates/login-view.html +++ b/templates/login-view.html @@ -1,29 +1,17 @@ - - - -Log in - - - - - {{ state }} - -
- {% csrf_token %} - {% if next %} - - {% endif %} - username: -
- password: -
+{% extends 'myslice-layout.html' %} - -
- - +{% block content_related %} +

{{ state }}

+ +
+ {% csrf_token %} + {% if next %} + + {% endif %} + username: +
+ password: +
+ +
+{% endblock content_related %} -- 2.43.0