mirror of https://github.com/zulip/zulip.git
Use zproject.settings in tools/diagnose.
This commit is contained in:
parent
7029917129
commit
8655472135
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue