django improperly configured

ImproperlyConfigured: You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings

DJANGO_SETTINGS_MODULE=project.app.settings

猜你喜欢

转载自www.cnblogs.com/buxizhizhoum/p/11025344.html