摘要:
部署Django时,使用 0.0.0.0捆绑监听服务器上的所有网卡IP地址 此时访问遇到 报错: Invalid HTTP_HOST header: '192.168.2.157:8080'. You may need to add '192.168.2.157' to ALLOWED_HOSTS. 阅读全文
摘要:
1.nginx 是一个Http和反向代理服务器 2.uwsgi uWSGI、WSGI和uwsgi的区别 WSGI,全称 Web Server Gateway Interface,或者 Python Web Server Gateway Interface ,是为 Python 语言定义的 Web 服 阅读全文
摘要:
使用Django的admin本地化配置时遇到 ERRORS:?: (translation.E004) You have provided a value for the LANGUAGE_CODE setting that is not in the LANGUAGES setting. 2.X版 阅读全文