Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

settings.py overwritten by settings_global #34

Open
deboy69 opened this issue Oct 24, 2022 · 3 comments
Open

settings.py overwritten by settings_global #34

deboy69 opened this issue Oct 24, 2022 · 3 comments

Comments

@deboy69
Copy link

deboy69 commented Oct 24, 2022

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

@rolandgeider
Copy link
Member

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

@deboy69
Copy link
Author

deboy69 commented Oct 25, 2022

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.

@rolandgeider
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants