From ad09fa0b794410ad3526a5107c676e27aa905e39 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 25 Jun 2026 12:26:01 +0545 Subject: [PATCH] refactor(src/djinit/templates/project): adjust env_path to parent instead of parent.parent Simplify path resolution and avoid unnecessary filesystem traversal. --- src/djinit/templates/project/manage.py-tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/djinit/templates/project/manage.py-tpl b/src/djinit/templates/project/manage.py-tpl index b9fc620..fdea66d 100644 --- a/src/djinit/templates/project/manage.py-tpl +++ b/src/djinit/templates/project/manage.py-tpl @@ -9,7 +9,7 @@ from pathlib import Path import environ -env_path = Path(__file__).resolve().parent.parent / ".env" +env_path = Path(__file__).resolve().parent / ".env" env = environ.Env() environ.Env.read_env(env_path)