You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 acelery.py
file.I had to load them twice, in
manage.py
andcelery.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 inmanage.py
PS: If this doesn't look clear, I will come back to update the description.
The text was updated successfully, but these errors were encountered: