Summary
Distributed task queue in python
Details
NAME space settings
from django.conf import settings
import os
from celery import Celery
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'epay.settings')
app = Celery('epay')
app.config_from_object('django.conf:settings', namespace='CELERY')
# value of namespace means all the celery settings will start with "CELERY_"
#ref: https://stackoverflow.com/a/54839366/5305401
app.autodiscover_tasks()