From 133dcabb58944d0c0fe08fa99e152d3f53733941 Mon Sep 17 00:00:00 2001 From: pacnpal <183241239+pacnpal@users.noreply.github.com> Date: Tue, 26 Aug 2025 15:22:29 -0400 Subject: [PATCH] refactor: Remove unused environ import and environment file reading from Django settings --- backend/config/django/base.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/config/django/base.py b/backend/config/django/base.py index 93778883..2d1688bb 100644 --- a/backend/config/django/base.py +++ b/backend/config/django/base.py @@ -3,7 +3,6 @@ Base Django settings for thrillwiki project. Common settings shared across all environments. """ -import environ import sys from pathlib import Path from decouple import config @@ -38,9 +37,6 @@ apps_dir = BASE_DIR / "apps" if apps_dir.exists() and str(apps_dir) not in sys.path: sys.path.insert(0, str(apps_dir)) -# Read environment file if it exists -environ.Env.read_env(BASE_DIR / ".env") - # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = config('SECRET_KEY')