0% found this document useful (0 votes)
12 views2 pages

Django and Features

Django is a high-level, free, and open-source Python framework designed for rapid web application development, initiated in 2003. It follows the MVT design pattern, offers features like ORM for database communication, a pre-defined admin interface, and adheres to the DRY principle to minimize code repetition. Additionally, Django provides built-in security and scalability to handle high data traffic.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

Django and Features

Django is a high-level, free, and open-source Python framework designed for rapid web application development, initiated in 2003. It follows the MVT design pattern, offers features like ORM for database communication, a pre-defined admin interface, and adheres to the DRY principle to minimize code repetition. Additionally, Django provides built-in security and scalability to handle high data traffic.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

DJANGO:

 Django is a high-level python framework which is used to develop web applications


rapidly.
 It is a free and open-source framework.
 It was started by Adrian Holovaty and Simon Willison as an internal project at the
Lawrence Journal-World newspaper in 2003.

FEATURES/ADVANTAGES OF DJANGO:
I. Design pattern:
Django follows MVT design pattern.
M Models
V Views
T Templates

CLIENT SERVER DATABASE

 PYTHON
 HTML  JAVA
 CSS  C  SQL
 JS  C#
 PHP

TEMPLATES VIEWS MODELS

APPLICATION

 Models are used to communicate with the database.


 Views are used to write business logic.
 Templates are used to store all the HTML pages.
II. DTL (Django Template language)/ Jinja2 tags:
 In order to write JS in HTML, we need to use script tag, In the same way, DTL is
used to write python code in HTML pages.

III. ORM (Object Relational Mapping):


 ORM is used to communicate with the database or to perform CRUD operations
on database.
 ORM has pre-defined classes and methods to perform operations on database.
 Without writing complex SQL Queries, Communication with the database is
easier with the help of ORM,

IV. Admin Interface:


 A pre-defined admin interface is present in Django which makes it easier to build
the application rapidly.

V. Secure & Scalable:


 Django has some in-built middleware because of which it provides security to the
data.
 Django has the capability to handle huge data traffic. Data traffic occurs when
more users are requesting the server at the same time.

VI. DRY (Don’t Repeat Yourself):


 Django follows Don’t repeat yourself philosophy, Already the code is written in
the framework which can be used to develop the application instead of writing the
code again.

You might also like