Use zproject.settings in tools/diagnose.

This commit is contained in:
Steve Howell 2017-01-04 08:48:54 -08:00
parent 7029917129
commit 8655472135
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def node_stuff():
@run
def test_models():
# type: () -> bool
settings_module = "zproject.test_settings"
settings_module = "zproject.settings"
os.environ['DJANGO_SETTINGS_MODULE'] = settings_module
import django
django.setup()