From 658fb8d6eabb551b45cc4ceb9a9e9f224b3815e7 Mon Sep 17 00:00:00 2001 From: Fabio Pinto Date: Wed, 18 Sep 2024 19:26:45 +0100 Subject: [PATCH] adds jsoneditor and staic root --- surface/surface/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/surface/surface/settings.py b/surface/surface/settings.py index 6e3b327b..d9f088e3 100644 --- a/surface/surface/settings.py +++ b/surface/surface/settings.py @@ -45,6 +45,7 @@ "vulns", "sca", "sbomrepo", + "jsoneditor", ] MIDDLEWARE = [ @@ -113,6 +114,7 @@ # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/3.1/howto/static-files/ +STATIC_ROOT = ENV_VAR("SURF_STATIC_ROOT", default=str(BASE_DIR.parent / "dev" / "static")) STATIC_URL = "/static/"