Using Python 3.7 and installed all the dependencies including django 1.11
I am trying to run test_ldap_auth_backend.py and keep getting the error:
django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
I have tried 'reviewboard.settings' and 'test_ldap_auth_backend.settings'.
When I use the latter I get
ImportError: cannot import name 'User' from 'django.contrib.auth.models' (C:\Users\shramani\PY37_VENV\lib\site-packages\django\contrib\auth\models.py)
Thanks,
Shubha