chore: improve ALLOWED_HOSTS in settings (ports are not useful there) (#4232)
This commit is contained in:
parent
99d4e16b30
commit
ffe824b7cd
|
@ -63,7 +63,7 @@ PASSWORD_HASHERS = [
|
|||
'django.contrib.auth.hashers.CryptPasswordHasher',
|
||||
]
|
||||
|
||||
ALLOWED_HOSTS = [".ietf.org", ".ietf.org.", "209.208.19.216", "4.31.198.44", "127.0.0.1", "localhost:8000", ]
|
||||
ALLOWED_HOSTS = [".ietf.org", ".ietf.org.", "209.208.19.216", "4.31.198.44", "127.0.0.1", "localhost", ]
|
||||
|
||||
# Server name of the tools server
|
||||
TOOLS_SERVER = 'tools.' + IETF_DOMAIN
|
||||
|
|
|
@ -59,7 +59,7 @@ CACHES = {
|
|||
|
||||
PASSWORD_HASHERS = [ 'django.contrib.auth.hashers.MD5PasswordHasher', ]
|
||||
SERVER_MODE = 'test'
|
||||
ALLOWED_HOSTS = ["127.0.0.1", "localhost:8000", "testserver", ]
|
||||
ALLOWED_HOSTS = ["127.0.0.1", "localhost", "testserver", ]
|
||||
|
||||
SILENCED_SYSTEM_CHECKS = [
|
||||
"fields.W342", # Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
|
||||
|
|
Loading…
Reference in a new issue