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

Usage with Django and Celery #46

Open
espoirMur opened this issue Apr 12, 2020 · 0 comments
Open

Usage with Django and Celery #46

espoirMur opened this issue Apr 12, 2020 · 0 comments

Comments

@espoirMur
Copy link

I struggle a lot to load environments variables in from settings in celery.py file when working with both Django and celery.

since I was loading env from manage.py I had issued to load use them in a celery.py file.
I had to load them twice, in manage.py and celery.py.

What is the problem to load the environment directly in the settings.py file?
If there is no problem with that approach, we can update the readme by saying that we can load them in settings.py file, not in manage.py

PS: If this doesn't look clear, I will come back to update the description.

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

1 participant