Intro to Django

Last updated on July 27, 2020

When it comes to creating web apps using Python, Django is a big name. Django framework was created by Adrian Holovaty and Simon Willison while working in Lawrence Journal-World newspaper in 2003. They keep developing the framework for the next 2 years. In 2005, they decided to release the framework as open source software and named it Django.

Why use Django? #

  1. It is open source.
  2. It's fast.
  3. Batteries included. It means you can use existing Python libraries to extend your app capabilities.
  4. Built-in admin site. Django comes with built-in admin site to manage the content of the site. A real time saver!
  5. Enhanced Security. Django takes care of security issues like SQL injection, CSRF(Cross Site Request Forgery) etc. So you can just focus on the tasks you need to accomplish.
  6. Flexible and Scalable. Django is very flexible, you can amend the framework according to your particular needs. You can scale Django easily to meet your traffic demands.

Here are some of the big names who use Django.

  • Instagram
  • Spotify
  • Mozilla
  • Pinterest
  • Bitbucket
  • Disqus

and the list goes on.

In the next chapter, we will learn how to install Django.

Note: Exercise files for this tutorial is available at https://github.com/overiq/TGDB.