refer to link.
plugin name: python
restart idea.
new project
需指定Python SDK. 勾选Django
run and the output is:
C:\Users\DELL\AppData\Local\Programs\Python\Python36\python.exe D:/py-spc/DjangoDemo/django.demo/django.demo.py
* Serving Flask app "django.demo" (lazy loading)
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
127.0.0.1 - - [10/Sep/2018 12:52:24] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [10/Sep/2018 12:52:24] "GET /favicon.ico HTTP/1.1" 404 -
127.0.0.1 - - [10/Sep/2018 12:52:31] "GET /foo HTTP/1.1" 200 -