docker icon indicating copy to clipboard operation
docker copied to clipboard

settings.py overwritten by settings_global

Open deboy69 opened this issue 3 years ago • 3 comments

Needing some help with the latest update and migration. Everything went well.

My only issue is that the settings.py or prod.env is being overwritten or not applied by settings.global.

Any insight on why or what I can do to fix this?

Thanks

deboy69 avatar Oct 24 '22 21:10 deboy69

Do you mean that the settings you are using in the env file are not being used?

rolandgeider avatar Oct 25 '22 12:10 rolandgeider

correct but think it may be related to your bug report also. Noticed emailes are not being sent through even though it was showing as sent and pything sendtestemail shows completed. Think it has to

if DEBUG: EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' if os.environ.get("ENABLE_EMAIL"): EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

somewhere debug is on and just sends it to console. Just guessing though.

deboy69 avatar Oct 25 '22 13:10 deboy69

mhhh, strange

I wanted to rework the settings used in the docker image so that it's clearer which ones are changed and which are still the default

rolandgeider avatar Oct 25 '22 13:10 rolandgeider