Refactor environment setup and enhance development scripts for ThrillWiki

This commit is contained in:
pacnpal
2025-08-20 11:23:05 -04:00
parent 2304085c32
commit 37a20f83ba
8 changed files with 252 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ env = environ.Env(
BASE_DIR = Path(__file__).resolve().parent.parent.parent
# Read environment file if it exists
environ.Env.read_env(BASE_DIR / '***REMOVED***')
environ.Env.read_env(BASE_DIR / '.env')
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = env('SECRET_KEY')