with Path("pyproject.toml").open("rb") as f:
Resolves against the working directory, so release tagging breaks whenever Django starts from anywhere but /app. importlib.metadata.version("buoy-barn") reads it from installed metadata with no file I/O and no tomllib import; BASE_DIR / "pyproject.toml" is the minimal alternative (note BASE_DIR is currently defined after this block, at :103).
Site: settings.py:86
(from #1781)
Resolves against the working directory, so release tagging breaks whenever Django starts from anywhere but
/app.importlib.metadata.version("buoy-barn")reads it from installed metadata with no file I/O and notomllibimport;BASE_DIR / "pyproject.toml"is the minimal alternative (noteBASE_DIRis currently defined after this block, at:103).Site:
settings.py:86(from #1781)