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')