From 5efe2a6bf6b9e18d601f90a7430ea536736753ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Sun, 25 Feb 2018 21:49:01 +0100
Subject: [PATCH] load jquery for the debug toolbar from static file

otherwise in case of offline work the absence of the google CDN
creates weird behaviors...


Former-commit-id: 8eb22c3555489cb861ca30b11a1d4ff971863149
---
 ippisite/ippisite/settings.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ippisite/ippisite/settings.py b/ippisite/ippisite/settings.py
index 38c7a56f..9bc8bdf0 100644
--- a/ippisite/ippisite/settings.py
+++ b/ippisite/ippisite/settings.py
@@ -97,6 +97,9 @@ DATABASES = {
     }
 }
 
+DEBUG_TOOLBAR_CONFIG = {
+    'JQUERY_URL': '/static/jquery/jquery-3.3.1.min.js'
+}
 
 # Password validation
 # https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
-- 
GitLab