dev settings allow any host

This commit is contained in:
virusdefender committed 2017-01-24 16:11:46 +08:00
1 parent 753d1d67b3
commit 440d9c8430
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ REDIS_QUEUE = {
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ["*"]
# 在 debug 关闭的情况下,静态文件不是有 django runserver 来处理的,应该由 nginx 返回
# 在 debug 开启的情况下,django 会在下面两个文件夹中寻找对应的静态文件。