From 9c37af333384dbd6acf905ff43575a7bf0edade6 Mon Sep 17 00:00:00 2001 From: Nikolas Nyby Date: Thu, 10 Oct 2024 11:03:52 -0400 Subject: [PATCH] Remove ENVIRONMENT var See: https://github.com/ccnmtl/ctlsettings/pull/38 I think this belongs in ctlsettings rather than this package. --- stagingcontext/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/stagingcontext/__init__.py b/stagingcontext/__init__.py index 280124e..3572204 100644 --- a/stagingcontext/__init__.py +++ b/stagingcontext/__init__.py @@ -6,8 +6,6 @@ def staging_processor(request): return { 'STAGING_ENV': getattr(settings, 'STAGING_ENV', False), - 'ENVIRONMENT': getattr(settings, 'ENVIRONMENT', 'development'), - # since our deploy process wipes and recreates the virtualenv # each time, we can rely on the modification time for this file # roughly reflecting the deployment time