From 5b36399d98d68a73116e18d6eb0c2fa14af46001 Mon Sep 17 00:00:00 2001 From: Keshav Priyadarshi Date: Fri, 30 Jan 2026 18:57:23 +0530 Subject: [PATCH 1/2] Update URLs in website footer Signed-off-by: Keshav Priyadarshi --- vulnerabilities/templates/footer.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vulnerabilities/templates/footer.html b/vulnerabilities/templates/footer.html index d525167e2..a20c9556e 100644 --- a/vulnerabilities/templates/footer.html +++ b/vulnerabilities/templates/footer.html @@ -1,9 +1,9 @@ From 02623a67ed6c1b6b6718ee9d4f26e2ed53638e30 Mon Sep 17 00:00:00 2001 From: Keshav Priyadarshi Date: Fri, 30 Jan 2026 19:04:01 +0530 Subject: [PATCH 2/2] Show unstable features warning on staging instance Signed-off-by: Keshav Priyadarshi --- docs/source/installation.rst | 4 ++++ vulnerabilities/templates/navbar.html | 27 ++++++++++++++++++++------- vulnerablecode/context_processors.py | 6 ++++++ vulnerablecode/settings.py | 4 ++++ 4 files changed, 34 insertions(+), 7 deletions(-) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 655504d3d..4135cecf7 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -84,6 +84,10 @@ to run on a different port than 8000. are several steps that may be needed to secure such a deployment. Currently, this is not recommendend. +.. tip:: + + Set ``STAGING`` to ``False`` in production to disable the staging environment warning. + Execute a Command ^^^^^^^^^^^^^^^^^ diff --git a/vulnerabilities/templates/navbar.html b/vulnerabilities/templates/navbar.html index b7a7fba0a..de6dc1a94 100644 --- a/vulnerabilities/templates/navbar.html +++ b/vulnerabilities/templates/navbar.html @@ -1,6 +1,18 @@ {% load utils %} -