django framework and create a project using

One. django framework and create a project using

(1) Create a Django project

1> In the cmd command line input: Django-ADMIN startproject RecourceRegist ( enter the corresponding path )

2> pycharm Community Edition , the terminal input command to create a project: Django-ADMIN startproject RecourceRegist

 

 

(2) import the Django project

In pycharm the file in the open just in the construction of the project

 

 

(3) create applications

1> In the cmd command line: Python manage.py startApp the Regist  ( enter the corresponding path )

2> in pycharm the terminal input command to create a project: Python manage.py startapp Regist 

 

(4) View catalog

 

 

(5) to start the service

1> In the cmd command line input: Python manage.py the runserver      ( cmd command to enter the Demo directory resides)

2> in pycharm the terminal enter the command to start the project: Python manage.py the runserver

(6)  After the service up and running, you can enter the default access address in the browser 127.0.0.1:8000

Guess you like

Origin www.cnblogs.com/deliaries/p/11235946.html