refactor(src/djinit/templates/project): adjust env_path to parent instead of parent.parent

Simplify path resolution and avoid unnecessary filesystem traversal.
This commit is contained in:
sankalp committed 2026-06-25 12:26:01 +05:45
1 parent 5984961878
commit ad09fa0b79
1 file changed
+1 -1
+1 -1
View File
@@ -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)