change DJANGO_SETTINGS_MODULE to sgq.settings.local