From 65ad7738ff390a58ec4645a96e5eee88044ef11a Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 17 Apr 2018 11:39:20 +0200 Subject: [PATCH] webroot redirects to login or orders if user is logged in --- ordr/templates/layout.jinja2 | 2 +- ordr/views/pages.py | 13 +++++++++++++ tests/_functional/pages.py | 11 +++++++++++ tests/views/pages.py | 16 +++++++++++++--- 4 files changed, 38 insertions(+), 4 deletions(-) diff --git a/ordr/templates/layout.jinja2 b/ordr/templates/layout.jinja2 index 3b5d874..35c0138 100644 --- a/ordr/templates/layout.jinja2 +++ b/ordr/templates/layout.jinja2 @@ -24,7 +24,7 @@ ordr {% if not request.user %}