在 PythonAnywhere 部署第一个 Django 应用
从 Git 拉代码、建虚拟环境、配置 WSGI 到访问域名,梳理在 PythonAnywhere 上部署 Django 的基本步骤与注意点。
Development & Security
从 Git 拉代码、建虚拟环境、配置 WSGI 到访问域名,梳理在 PythonAnywhere 上部署 Django 的基本步骤与注意点。
用 django.__file__、pip show、python -c 等方式定位 Django 安装目录,并说明虚拟环境、多 Python 并存时的排查思路。