Allow all hosts when developing
The hostname changes a lot and some servers have multiple IPs.
This commit is contained in:
parent
6f1998a7a3
commit
a79a52b42a
|
@ -7,14 +7,7 @@ import os
|
|||
from .base import *
|
||||
|
||||
|
||||
ALLOWED_HOSTS = [
|
||||
"localhost",
|
||||
"127.0.0.1",
|
||||
"0.0.0.0",
|
||||
getfqdn(),
|
||||
gethostname(),
|
||||
gethostbyname(gethostname()),
|
||||
]
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
|
||||
CSRF_TRUSTED_ORIGINS = [
|
||||
"http://localhost:8000",
|
||||
|
|
Loading…
Reference in New Issue