Django go through the basic process of creating a project 02
Language
2019-07-05 12:56:58
views: null
02 Creating project
- Create a directory in place
- D: \ Software \ PyCharm Community Edition 2018.3.5 \ py_code \ qf_django \ day34 \ 01-sunck (directory called 01-sunck)
- Open the black terminal to the next directory created in the previous step
- Input django-admin startproject project
- Directory hierarchy Description
- manage.py
- A command-line tool that allows us to interact with a variety of ways to django project
- project directory
- the init .py: an empty file, he told python this directory should be seen as a package python
- settings.py : project configuration files
- urls.py url statement items:
- wsgi.py : Project WSGI-compatible Web server entry (wsgi Server Gateway Interface)
Origin blog.csdn.net/qq_36697196/article/details/94722967