From 6666bd8134e23febe9ed138f78e5ae9679053eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Mon, 14 Jan 2019 14:35:04 +0100 Subject: [PATCH 1/2] set settings.LOGOUT_URL (used in the base template) --- WikiENS/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WikiENS/settings.py b/WikiENS/settings.py index a62a6db..f7ac2a8 100644 --- a/WikiENS/settings.py +++ b/WikiENS/settings.py @@ -176,6 +176,8 @@ ACCOUNT_USER_DISPLAY = lambda u: u.get_full_name() or u.username # WIKI SETTINGS +LOGOUT_URL = reverse_lazy("account_logout") + # Use sign up, login, logout, profile settings views of allauth. WIKI_ACCOUNT_HANDLING = False From 56a3c1da6b85d9638df5b5887278b62dbd8c1e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Mon, 14 Jan 2019 14:37:47 +0100 Subject: [PATCH 2/2] Remove typo (random "i") in the base template --- shared/templates/wiki/base.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/templates/wiki/base.html b/shared/templates/wiki/base.html index b5e5a6c..975c37e 100644 --- a/shared/templates/wiki/base.html +++ b/shared/templates/wiki/base.html @@ -5,7 +5,9 @@ {% block wiki_site_title %} - WikiENS{% endblock %} {% block wiki_header_branding %} -Wiki  ENS + + Wiki  ENS + {% endblock %} {% block wiki_header_navlinks %}