实现环境:
python3.7
windows to centos
步鄹一:先在centos上安装Django,uwsgi
步鄹二:在Django项目的setting文件中修改
DEBUG = True
ALLOWED_HOSTS = [‘127.0.0.1‘,‘虚拟机的ip地址‘,‘localhost‘]
步鄹三:
原文地址:https://www.cnblogs.com/-hjd/p/10155263.html
时间: 2024-11-09 05:38:57
实现环境:
python3.7
windows to centos
步鄹一:先在centos上安装Django,uwsgi
步鄹二:在Django项目的setting文件中修改
DEBUG = True
ALLOWED_HOSTS = [‘127.0.0.1‘,‘虚拟机的ip地址‘,‘localhost‘]
步鄹三:
原文地址:https://www.cnblogs.com/-hjd/p/10155263.html