From cb3ac79a853624c7c2d3672e7a3b87ddd30ef4af Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 21 Apr 2020 00:20:00 +0200 Subject: [PATCH] signon: also pass STATIC_URL to the template Signed-off-by: Mattia Rizzolo --- nm2/wsgi.py | 2 +- signon/templates/signon/identities.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nm2/wsgi.py b/nm2/wsgi.py index 1fcdd95..f35d2c2 100755 --- a/nm2/wsgi.py +++ b/nm2/wsgi.py @@ -19,5 +19,5 @@ for path in paths: if path not in sys.path: sys.path.append(path) -from django.core.wsgi import get_wsgi_application +from django.core.wsgi import get_wsgi_application # noqa: E402 application = get_wsgi_application() diff --git a/signon/templates/signon/identities.html b/signon/templates/signon/identities.html index 2309cdb..bddb9aa 100644 --- a/signon/templates/signon/identities.html +++ b/signon/templates/signon/identities.html @@ -7,7 +7,7 @@

{{person.fullname}} identities

{% if identities %} -{% include "signon/audit_identities.html" with identities=identities only %} +{% include "signon/audit_identities.html" with identities=identities STATIC_URL=STATIC_URL only %} {% endif %} {% endblock %} -- GitLab