python - Use manage.py settings in Celery Config -
i following celery's documentation , stuck @ following:
os.environ.setdefault('django_settings_module', 'proj.settings')
i'm following django two-scoops method of separating settings .local , .production environments. there way have celery import whichever module specify in manage.py
file don't have change proj.settings
proj.settings.local (or) .production
too?
Comments
Post a Comment