浏览代码

Allow all hosts to simplify cross-browser testing (#268)

Thibaud Colas 4 年之前
父节点
当前提交
2ec4475f75
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      bakerydemo/settings/dev.py

+ 2 - 0
bakerydemo/settings/dev.py

@@ -6,3 +6,5 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
 
 # BASE_URL required for notification emails
 BASE_URL = 'http://localhost:8000'
+
+ALLOWED_HOSTS = '*'