环境:win10 工具:pycharm 3.6 + python 3.6 + Django 2.0.7 打开pycharm。File -> open。 选择Django项目。 点击Edit Configurations。 点击“ + ”,选择python。 根据自己的项目完成,选择与填写。 运行。