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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -