Django Explained: Basics of the Popular Web Framework

Django Explained: Basics of the Popular Web Framework

What is Django?

You might be wondering, or perhaps you already know what Django is. Here's a brief explanation as we begin this guide.

Django is a web framework for Python. It's that simple. Django was created to meet fast-paced newsroom deadlines while fulfilling the demanding needs of experienced web developers.

As you go through this guide, I want to point out that much of the content comes from the Django documentation. I believe it's a good practice to always refer to the documentation of any language or framework. Be sure to check it out here

Why Django?

With Django, you can take web applications from concept to launch in hours. Django takes care of much of the hassle of web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.

  1. Django is fast - helps developers take applications from concept to completion as quickly as possible.

  2. Fully loaded -Django includes dozens of extras you can use to handle common web development tasks. Django takes care of user authentication, content administration, site maps, RSS feeds, and many more tasks — right out of the box

  3. Reassuringly secure - Django takes security seriously and helps developers avoid many common security mistakes, such as SQL injection, cross-site scripting, cross-site request forgery, and clickjacking. Its user authentication system provides a secure way to manage user accounts and passwords.

  4. Exceedingly scalable - Some of the busiest sites on the planet use Django’s ability to quickly and flexibly scale to meet the heaviest traffic demands.

  5. Incredibly versatile - Companies, organizations, and governments have used Django to build all sorts of things — from content management systems to social networks to scientific computing platforms.

With that said, let's write our very first Django program.