django project creation and start

Create a project

django-admin startproject 项目名称

Here Insert Picture Description

effect

Here Insert Picture Description

Startup project

python manage.py runserver

Note that to use this in a project directory

Here Insert Picture Description

effect

Here Insert Picture Description

Start the project, specify the ip and port

python manage.py runserver IP地址:端口号

Here Insert Picture Description

To explicitly set ip

0.0.0.0

the benefits of

Published 847 original articles · won praise 43 · views 130 000 +

Guess you like

Origin blog.csdn.net/ifubing/article/details/104411560