Allow any allowed hosts when debug
This commit is contained in:
parent
ea67d5a590
commit
e7494c2ffc
@ -27,6 +27,8 @@ DEBUG = True
|
||||
|
||||
ALLOWED_HOSTS = []
|
||||
|
||||
if DEBUG:
|
||||
ALLOWED_HOSTS.append("*")
|
||||
|
||||
# Application definition
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user