摘要: 1、报错 Invalid HTTP_HOST header: '192.168.1.100:8000'. You may need to add '192.168.1.100' to ALLOWED_HOSTS. 在setting文件里面加入 ALLOWED_HOSTS = ['*',] 意思是允许 阅读全文
posted @ 2018-06-03 23:22 梦中琴歌 阅读(308) 评论(0) 推荐(0)
摘要: WARNINGS:?: (urls.W001) Your URL pattern '^$' uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems includin 阅读全文
posted @ 2018-06-03 21:39 梦中琴歌 阅读(611) 评论(0) 推荐(0)