进入项目所在文件夹运行:python manage.py runserver 80 80就是端口号,不写默认是8000 转载于:https://blog.51cto.com/332374363/904786