1π
β
I solved this problem
I added it to settings.py instead of celery.py.
dotenv.read_dotenv (β./. envβ)
Hope this helps those who face the same problem
π€J Zero
Source:stackexchange.com