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

UNIT - 5 - Django Framework

Uploaded by

karthiktej890
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views2 pages

UNIT - 5 - Django Framework

Uploaded by

karthiktej890
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Python Web Development Django

Django is a back-end server side web framework.

Django is free, open source and written in Python.

Django makes it easier to build web pages using Python.

Python Django is a web framework that allows to quickly create efficient


web pages. Django is also called batteries included framework because it
provides built-in features such as Django Admin Interface, default
database – SQLite3, etc. When you’re building a website, you always need a
similar set of components: a way to handle user authentication (signing up,
signing in, signing out), a management panel for your website, forms, a
way to upload files, etc. Django gives you ready-made components to use.

Why Django Framework?


 Excellent documentation and high scalability.
 Used by Top MNCs and Companies, such as Instagram, Disqus, Spotify,
Youtube, Bitbucket, Dropbox, etc. and the list is never-ending.
 Easiest Framework to learn, rapid development, and Batteries fully
included. Django is a rapid web development framework that can be
used to develop fully fleshed web applications in a short period of time.
 The last but not least reason to learn Django is Python, Python has a
huge library and features such as Web Scraping, Machine Learning,
Image Processing, Scientific Computing, etc. One can integrate all this
with web applications and do lots and lots of advanced stuff.
Features of Django
 Rapid Development
 Secure
 Scalable
 Fully loaded
 Versatile
 Open Source
 Vast and Supported Community

Django Architecture
Django is based on MVT (Model-View-Template) architecture which has the
following three parts –
 Model: The model is going to act as the interface of your data. It is
responsible for maintaining data. It is the logical data structure behind
the entire application and is represented by a database (generally
relational databases such as MySql, Postgres).
 View: The View is the user interface that you see in your browser when
you render a website. It is represented by HTML/CSS/Javascript and
Jinja files.
 Template: A template consists of static parts o off the desired HTML
output as well as some special syntax describing how dynamic content
will be inserted. To check more, visit – Django Templates

Here, a user requests for a resource to the Django, Django works as a


controller and check to the available resource in URL.
If URL maps, a view is called that interact with model and template,
it renders a template.
Django responds back to the user and sends a template as
a response.

You might also like