django 1.11: update ALLOWED_HOSTS in test settings (#21489)
This commit is contained in:
parent
836695facc
commit
89b7740e04
|
@ -18,5 +18,7 @@ INSTALLED_APPS = (
|
|||
|
||||
import os
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
|
||||
if 'AUTHENTIC2_SETTINGS_FILE' in os.environ:
|
||||
execfile(os.environ['AUTHENTIC2_SETTINGS_FILE'])
|
||||
|
|
|
@ -17,3 +17,5 @@ DATABASES = {
|
|||
},
|
||||
}
|
||||
}
|
||||
|
||||
ALLOWED_HOSTS = ALLOWED_HOSTS + ['example.net', 'cache1.example.com', 'cache2.example.com']
|
||||
|
|
Loading…
Reference in New Issue