Added an ALLOWED_HOSTS setting to settings_testcrawl.

- Legacy-Id: 13090
This commit is contained in:
Henrik Levkowetz 2017-03-23 10:43:39 +00:00
parent c53be35f13
commit d04869a3d5

View file

@ -35,6 +35,7 @@ CACHES = {
PASSWORD_HASHERS = ( 'django.contrib.auth.hashers.MD5PasswordHasher', )
SERVER_MODE = 'test'
ALLOWED_HOSTS = ["127.0.0.1", "localhost:8000", "testserver", ]
SILENCED_SYSTEM_CHECKS = [
"fields.W342", # Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.