📌  相关文章
📜  Django 中 ALLOWED_HOST 的作用是什么 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:24.795000             🧑  作者: Mango

代码示例3
ALLOWED_HOSTS = [ '127.0.0.1', '10.11.12.13' ]
   in this example, localhost and one other host is able to access the Django server.
   e.g. this host may be an API generator for a remote front-end web server