Refactor student login for readability and fix Django 1.11 issues

This commit is contained in:
bmedx
2018-01-16 15:21:00 -05:00
parent 46cb89e55d
commit 1d45c85135
25 changed files with 3567 additions and 3302 deletions

View File

@@ -39,16 +39,9 @@ from lms.envs.test import (
REGISTRATION_EXTRA_FIELDS,
)
# Add some host names used in assorted tests
# Allow all hosts during tests, we use a lot of different ones all over the codebase.
ALLOWED_HOSTS = [
'localhost',
'logistration.testserver',
'.testserver.fake',
'test-site.testserver',
'testserver.fakeother',
'edx.org',
'microsite.example.com',
'testserver2',
'*'
]
# mongo connection settings