What is django _django can do

Django

Django is an open source web application framework written in Python. The frame mode of MT'V is adopted, namely model M, template T and view V. It was originally developed to manage some of the news content-based websites of the Lawrence Publishing Group, namely CMS (Content Management System) software. It was released under the BSD license in July 2005. The frame is named after the Gypsy jazz guitarist Django Reinhardt of Belgium.

Framework introduction

The Django project is a Python custom framework that originated from an online news Web site and was released as open source in 2005. The core components of the Django framework are:

Object-relational mapping for creating models

The perfect management interface for end users

First class URL design

Designer friendly template language

Cache system.

Django (pronounced [`dʒæŋɡəʊ]) is an open source web framework written in Python that encourages rapid development and follows MVC design. Django complied with BSD copyrights, first released in July 2005, and released its first official version 1.0 in September 2008.

Django is named after the Belgian jazz musician Django Reinhardt. He is a gypsy, mainly playing guitar and playing the violin.

Due to the rapid development of Django in recent years, the application has become more and more extensive. It was selected as the 2013 SD TImes 100 by the famous IT development magazine SD TImes, ranking 6th in the category of “API, Library and Framework”, which is considered to be the field. By.

What can django do?

1. When you start the Django server with manage .py runserver, it loads the setTIngs .py in the same directory. This file contains the configuration information in the project, such as URLConf mentioned above, the most important configuration is ROOT_URLCONF, which tells Django which Python module should be used as the URLConf of this site, the default is urls .py

What is django _django can do

Working Mechanism

2. When accessing the url, Django will load the URLConf according to the setting of ROOT_URLCONF.

3. Then match the URLpatterns in URLConf one by one. If found, the associated view function is called and the HttpRequest object is used as the first parameter (usually request)

Finally, the view function is responsible for returning an HttpResponse object.

The main purpose of Django is to develop database-driven websites easily and quickly. It emphasizes code reuse, multiple components can easily serve the entire framework in the form of "plugins", Django has many powerful third-party plug-ins, you can even easily develop your own toolkit. This makes Django very scalable. It also emphasizes the principles of rapid development and DRY (Do Not Repeat Yourself).

Django's MVC-based design is beautiful:

Object-relaTIonal mapping (ORM): Define your data model in Python class. ORM connects the model to the relational database. You will get a very easy to use database API, and you can also use it in Django. The original SQL statement.

URL dispatch: Use regular expressions to match URLs. You can design arbitrary URLs without specific restrictions on the framework. As flexible as you like.

Template system: Use Django's powerful and extensible templating language to separate design, content, and Python code. And has inheritability.

Form processing: You can easily generate various form models to verify the validity of the form. It's easy to generate the appropriate form from the model instance you defined.

Cache system: can be hung in memory buffer or other framework to achieve super buffering - to achieve the granularity you need.

Session, user login and permission checking, and rapid development of user session functions.

Internationalization: Built-in international system to facilitate the development of multi-language websites.

Automated management interface: You don't need a lot of work to create people to manage and update content. Django comes with an ADMIN site, similar to a content management system.

Horn Speaker For Monitoring

This speaker series is made from robust,virtually indestructible ABS enclosure,and adjustable metal bracket offering maximum protection against shock and weather making it ideal for mounting in extreme outdoor conditions.
It can provide public address announcements and remote paging via network video surveillance applications.
Ideal for remote monitoring applications,such as at factories, building sites,
airports and shopping centres or in exposed outdoor installations.
With volume control
All are fitted with a sturdy,adjustable mounting bracket.horn speaker for monitoring

Horn Speaker Monitor,Monitor horn,Monitor horn speaker,Horn Speaker for Remote Monitoring Applications,Monitor horn speakers

Taixing Minsheng Electronic Co.,Ltd. , https://www.ms-speakers.com

Posted on