Django Tutorial

Django Introduction

It is a web application framework written in a python programming language. It based on the MVT( Model View Templet) design pattern. It takes a short time to build an application after collecting client requests. That's why Django is very demanding due to its rapid development function.

Django in Roman term means ”I awake”.

Tag Line for Django: The web framework for perfectionists with deadlines.

Django designed in such a way that it handles much of the configuration stuff automatically, so we can focus only on application development.

History of Django

 It is the nickname of the Belgian jazz guitarist Jean Baptiste "Django" Reinhardt, whose fame has led to his use in music. Django is also the name of a web development framework.

Django was created in the fall of 2003, when the web programmers of the Lawrence Journal-World newspaper, Adrian Holovaty and Simon Willison, began using Python to create applications. It was publicly released under a BSD(Berkeley Software Distribution) license in July 2005.

Django was realeased on 21 july 2005

Versions of Django

Version  Date  Description
2.2 1 April 2019 It is designated long-term support release.
2.0 Dec 2017 First release of python 3 ,simplified URL  routing syntax and also provide mobile friendly administration.
1.11 LTS Last version to support python  2.7. supported until atleast April 2020
1.10 1 Aug 2016 Full Text Search for PostgreSQL. It is new style middleware.
1.9 1 Dec 2015 New styling for admin interface. It has also include Automatic password validation.
1.8LTS 1 April 2015 It provide native support to for multiple templet engines. Supported until at least April 2018
1.8 LTS 2 Sep 2014 Configuration, Application and Migration
1.7 2 Sep 2014 Configuration, Application and Migration
1.6 6 Nov 2013 Database transaction management , connection pooling, dedicated to Malcolm tredinick.
1.05 26 Feb 2013 Python 3 support  and configurable user model
1.3 23 March 2011 Timezone, in  browser testing and templates
1.2 17 May 2010 It support multiple database connection CSRF, model validation.
1.1 29 July 2009 Aggregates , Transaction based tests
1.0 3 Sep 2008 API Stability, decoupled admin, unicode
0.96 23 March 2007 Newforms , testing tools

Django Topics


Related Topics

Django Tutorial

Django Introduction It is a web application framework written in a python programming language. It based on the MVT( Model View Templet) design pattern. It takes a short time to build an application...

2 minutes read.

Django Forms

Django is a Python Programming Open Source framework for web development. It was released in 2008 and was developed by two web developers named Adrian Holovaty and Simon Willison. It...

3 minutes read.

Django Model Fields

In Django, if we want to store the information about anything, we use Models. It contains various fields about the data. Generally, each model represents a database where all the...

4 minutes read.

Django Installation

Django Installation Django development environment consists of installing and setting up Python, Django, and a Database System since Django deals with a web application. Below the statement will guide you through installing Python 3.8.0 and...

2 minutes read.

Django MVT

 MVT(Model View Template) MVT means Model View Template is a software design pattern The View is used to implement the business logic and to communicate with a model for data transmission and to...

2 minutes read.

Django Admin

To manage the content of the website, e.g., adding and deleting posts, web developers need an admin portal on the website. The admin portal allows trusted users, also knows as...

3 minutes read.

Django Frontend

Django Django is a framework that can make web applications more accessible and faster. Django is an open-source collection of python libraries, and Django can be used for both the front...

3 minutes read.

Django Create App

Django is a Python-based web framework that is based on the Model View Template architecture. In this post, we will go through the installation and setup for our first Django...

4 minutes read.

Life Cycle of Django

Life Cycle of Django Request - Response life cycle in Django  Thebasic principle of http protocol is the client sends a request to the server based on the request data, and the server sends...

3 minutes read.

Django CSRF

Django is a high-level python based web framework. Django is open source and free to use for all. Django provides many features to web developers like scalability, security, rapid development,...

4 minutes read.

Creating View in Django

Creating View in Django    Django views are a key component of the frameworkbased applications.We are using Python function or class at their simplest, which takes up a web query and returns a web response.Views are used to get objects from the server, change objects if needed, render types, return HTML, and much more. Class Based View and Function based Django has two types of views: views based on functions (FBVs) and views based on class (CBVs).Initially, Django began with only FBVs, but then introduced CBVs as a way to model features so we didn't have to write boilerplate (i.e. the same software) code again and again.CBVs would be a way to increase efficiency, so you don't have to write as much code as you can. CBVs are classes of Python at their heart. Django ships with a range of "model" CBVs with pre-configured features that can be reused and often expanded.Then helpful names are given to these classes that explain what kind of functionality they provide.These are often referred to as "universal views" because they provide solutions to specific needs. The classes have a journal View function, or "view" for short, is simply a Python program that uses a web query and returns a web response. This response may include the HTML content of a web page, or a redirect, or a 404 error, or an XML file, or an image, etc. Example: You use a view to create a web page, remember that you need to connect a view to a URL to see it as a web page. Simple View We will create a simple view in myapplication to say “Welocome to django application” See the following view – from django.http import HttpResponse ...

4 minutes read.

Django Stack

Django is a popular Python web application framework that adheres to the "batteries-included" tenet. Batteries-guiding included idea is that common functionality for creating web applications should be provided with the...

5 minutes read.

Django Template System

Django Template System Django allows Python and HTML to be divided, the Python goes into views, and HTML goes into templates. Django relies on the render feature and the language of the Django Model...

5 minutes read.

Django DRF

Django Rest Framework, which is also referred to as DRF, is a very powerful application to build RESTful APIs in a Django application. DRF uses the Django framework. Similar to...

3 minutes read.

Best Django courses

In this tutorial, we will see various courses in python Django available on the internet. Django has become popular these days, so courses on it are also increasing day by...

7 minutes read.

Django Model

Django Model A template is a class representing a table or collection in our DB and where each class attribute is a table or collection area. In the app / models.py, models are...

6 minutes read.

Django Create Project

Django is an open-source free to use web framework which is based on Python. Django uses Model-View-Template as its architecture. The final version of Django was released in 2008. Django...

4 minutes read.

How to connect Django with Mysql

Any web application contains some data that comes from the input of the end-users. Thus, the database is required to handle those data. Several databases could be used to connect...

3 minutes read.

Django Filters

Django is a high-level python based web framework. Django is mostly used as a backend engine for websites. Nowadays, every website communicates to a database to fetch all the information...

3 minutes read.

Django REST Framework

Django REST Framework (DRF)is an open-source, powerful, and flexible toolkit used to build RESTful web APIs. It is built upon the Django framework. DRF increases the development speed. Django and...

4 minutes read.