The latest version of Django is a high-level Python Web framework, which encourages rapid development and concise and pragmatic design. It is built by experienced developers. It handles a lot of problems in Web development, so you can focus on writing your applications without reinventing the wheel. It is free and open source.
Software features
The speed is amazing.
The latest version of Django is designed to help developers move applications from concept to completion as quickly as possible.
Reassuring security.
Django attaches great importance to security issues and helps developers avoid many common security errors.
Super scalability.
Some of the busiest websites on the network take advantage of Django's rapid and flexible expansion capabilities.
Function introduction
Core Components
The core components of the latest Django framework are:
1. Object relational mapping for creating models
2. Perfect management interface designed for end users
3. State of the art URL design
4. Designer friendly template language
5. Cache system
Installation steps
1. Download Django
2. Create a django project
3. Introduction to the created project file
Manage.py ---- the tool in the Django project, through which you can call the django shell and database, start and close the project and interact with the project
Wait, no matter how many files you divide the framework into, there must be a startup file. In fact, they are a file themselves.
Settings. py -- contains the default settings of the project, including database information, debugging flags, and other working variables.
Urls. py ----- responsible for mapping URL patterns to applications.
Wsgi.py ---- The runserver command uses the wsgiref module as a simple web server. You will see the renserver command later
The contents related to the socket are all in this file, so you don't need to pay attention to it at present.
Tip: Your comments are of great reference value to other users. Please do not enter comments without nutrition. If you encounter problems, please report them so that we can deal with them in a timely manner.