Skip to content
C Codeloom

Topics / Django

Django

Batteries-included Python web framework. Models, views, templates, and ORM.

Why learn Django?

  • Comes with auth, admin, ORM, forms, and templating out of the box.

  • Battle-tested in production at Instagram, Pinterest, and thousands more.

  • Ship a full CRUD app in an afternoon thanks to the admin.

  • A clear convention for almost everything — fewer decisions to make.

What you can build with Django

Content sites and CMS-style apps Internal tools with the Django admin SaaS backends with the ORM API backends via Django REST Framework

Django tutorials

5 articles

Hand-written tutorials, ordered as a recommended learning path.

  1. 01 What Is Django? A practical introduction to Django — its newsroom origins, the batteries it ships with (ORM, admin, auth, templates), and when to pick it over FastAPI or Flask.
  2. 02 Install & First Project A hands-on Django setup guide — virtual environments, pip install django, startproject, runserver, and creating your first app. Get to a working dev server in ten minutes.
  3. 03 Models & ORM A practical tour of Django's ORM — defining models, common field types, makemigrations and migrate, QuerySet filtering, foreign keys, and simple aggregations.
  4. 04 Views & Templates Wire Django models to web pages — function-based views, render(), URL routing with path(), template tags like {% for %} and {% if %}, and template inheritance with {% extends %}.
  5. 05 Django Admin Use the Django admin to get a free CRUD interface for every model — createsuperuser, register models, customise list_display and search_fields, and add inline admins.