From 547b594c8d24a8d6f529c35c07f9ad87e336ce45 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Wed, 11 Apr 2018 10:21:09 +0200 Subject: [PATCH] add a Django Admin link to the menu if the logged-in user is staff --- src/templates/base.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/templates/base.html b/src/templates/base.html index adb2d321..e6639542 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -74,6 +74,7 @@
  • People
  • {% if user.is_authenticated and user.is_staff %}
  • Backoffice
  • +
  • Django Admin
  • {% endif %}