1, prepare the following east, and in order to install: Python 3.6 (64-bit) Django-1.11.tar.gzpycharm-community-2016.3.2.exe installed after the cmd run:
python --version
python -m django --version
Confirm that the installation is complete 2, set up a folder in the D disk: D:\python_workspace\helloworld, in Pycharm in this position to create a new project for HelloWorld 3, in CMD intoD:\python_workspace, run
django-admin startproject helloworld
The following directory system will be generated: you can see a lot of pycharm in the directory structure (originally empty) 4, under "Run" click on "Edit Configuration" in the Red Arrows indicate where the corresponding content(You can also go to the project directory under CMD, and then the command line:Python manage.py runserver 8081)5, next can point run, you can see the console has the following tips: Click the link address: http://localhost:8081/can open a new page, it worked! Then we have the task of configuring Python and Django in Pycharm to complete! List of attachments
Python Learning notes--1, Environment building (how to configure Python and Django in Pycharm)