-
Notifications
You must be signed in to change notification settings - Fork 42
Usage with Django and Celery #46
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels