Intro to Django
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? #
- It is open source.
- It's fast.
- Batteries included. It means you can use existing Python libraries to extend your app capabilities.
- Built-in admin site. Django comes with built-in admin site to manage the content of the site. A real time saver!
- 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.
- 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.
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.