Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚安装了 django,当我登录管理页面时,runserver 停止运行,唯一弹出的错误是 ERR_CONNECTION_REFUSED。虚拟环境处于活动状态并正在运行,我在网上找不到任何答案。
我在使用 Django 3.0.5 时遇到了同样的问题,您当前的 python 版本是什么?我有 3.7,必须升级到 3.8 才能加载管理页面。之前有这个问题,降级到旧版本的 Django 也可以。请记住,如果您升级 python 版本,您将需要更新您的虚拟环境。