So, what is Django?
Django is a Python framework, which makes many things much easier.
The Django ORM
The ORM is an incredibly powerful database tool. It handles creation of your database, as well as insert, update, delete queries and some quite advanced querying - although it’s not perfect. It supports multiple databases - MySQL, PostgreSQL, Oracle & SQLite are all supported out-of-the-box assuming you have the relevant Python libraries installed.
Forms are not the most fun thing. While Django doesn’t make them fun, it at least does a lot for you. You define some fields and how you want the basic validation to work, and Django creates the HTML adds the error messages and cleans the data so you don’t get anything unexpected. The Django forms framework can even generate and update your database from a database model you create, make your job even easier.
The Django admin is more than just a scaffold. This thing has a wide range of customisations that can be applied and with little to no work could even be deployed as the final admin area of your website - it powers this one.
Why should you use Django?
Django isn’t PHP
For those wanting a change, Django isn’t PHP. While it doesn’t have the huge following that PHP does, it does have a very helpful community.
Django is Python
Python is a really nice, elegant & powered language … and by far my favourite.
Django makes things easier
Django makes things easier for you. It’s a complete framework with a lot available - but only if you want it. It tries not to get in the way and if there are things you don’t like you just go around. The templating language being a great example of this.
You will be in good company
Here’s is a small list of big websites using Django.
The official Django site
- The official Django site
- Playfire - Social network for gamers
- Disqus - Large commenting platform
- Washington Post - News
- This website
That doesn’t mean to say you need to be running a few hundred visitors a second, it’s really good for a smaller site as well, but just know as you grow, Django grows with you.