Print cwd in settings.py to aid with debugging '.env' files
This commit is contained in:
parent
bb6e8e516c
commit
750b4c762c
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue