1
0
Fork 0

Print cwd in settings.py to aid with debugging '.env' files

This commit is contained in:
Reinout Meliesie 2025-03-10 23:35:50 +01:00
parent bb6e8e516c
commit 750b4c762c
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -12,6 +12,8 @@ from django.core.exceptions import ImproperlyConfigured
# pylint: disable=line-too-long
print("Current working directory: ", os.getcwd())
env = Env()
env.read_env()
DOMAIN = env("DOMAIN")