Before using django, let's take a look at these materials to cheer yourself up ~, Django look at these
If you go to djangoproject.com, you will find the following explanation of Django:
"Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design ."
Let's look at it.
Django is an advanced Web Framework
The advanced Web framework removes the need to build dynamic Web sites. It abstracts common Web development problems and provides shortcuts to frequent programming tasks.
An excellent Web framework has the following concerns:
Provide URL ing
Easy to display, verify and re-display HTML Forms
Convert user-submitted items into easy-to-manipulate data structures
Separate Content and Display using the template System
Easy integration with persistence layer
Higher abstraction and productivity improvement
Remove your program flaws
Django has all these features
Django is written in Python. Python is an elegant, concise, and advanced programming language.
If you use the Django development site, you will use the Django library to write Python code.
Django provides quick development
Django's philosophy is to do everything possible to speed up development.
It takes several hours to develop a site using Django, instead of days, weeks, or years.
Thanks to Python:
Python is an interpreted language and does not need to compile code. You can view the result immediately in the browser.
Python is a dynamic type and does not have to declare the variable type.
Python's syntax is concise and expressive, and less code is used to accomplish the same thing. A line of Python code is usually equivalent to 10 lines of Java code, and less Code brings fewer bugs.
Python provides excellent introspection and metaprogramming capabilities, allowing you to inspect objects and add behavior at runtime.
Django provides a clean and effective design
Django strictly maintains the clean design, and all its code allows your developed Web programs to follow the best practices
The philosophy here is: Django makes it easy for you to do the "right" thing.
Django provides a loosely coupled architecture. Its programming philosophy is that different program segments can be exchanged and communicate with each other through clean and concise APIs.
Django follows the MVC Architecture
What Django does not do
Feed your cat
Help you understand your needs and implement it within a specific period of time so that your boss thinks you are not at home to see "The Price is Right"
It should be noted that Django will not cause global warming
Why does Django develop?
Django originated from various problems and solutions encountered in the real world. It was not designed to sell to developers to win the market, nor to complete school homework on someone's page time.
It is built for industrial Web development teams to solve daily problems
Django started in 2003. A Web development newspaper named Lawrence in a small town in Kansas, whose web version is World Online
In the fall of 2003, two developers of World Online, Adrian Holovaty and Simon Willison, planned to create the Django framework.