Skip to content
Codeloom

← Back to Django overview

Django tutorials

29 articles · page 2 of 2

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

  1. 21 Django Channels Add real-time features to Django with Channels. Build a WebSocket chat consumer, set up the ASGI server, and broadcast events with channel layers.
  2. 22 Class-Based Views Understand Django's class-based views by building from View up to ListView and UpdateView. Learn the MRO, mixins, and when CBVs beat function-based views in real projects.
  3. 23 Django Middleware Understand how a Django request flows through middleware, URL routing, and views, and learn to write custom middleware for cross-cutting concerns.
  4. 24 Django Relations Model real-world relationships in Django with ForeignKey, OneToOneField, and ManyToManyField, including reverse lookups, on_delete, and through tables.
  5. 25 Django Auth Move beyond is_authenticated. Learn how to model groups, object-level permissions, and DRF permission classes cleanly.
  6. 26 DRF Serializers Understand how DRF serializers validate, transform, and persist data, and learn how to compose them for complex API payloads.
  7. 27 DRF vs FastAPI A practical comparison of DRF and FastAPI: performance, ORM, validation, async, and how to choose for a new Python service.
  8. 28 Django Signals Learn how Django signals decouple side effects from your models, when to use them, and the common pitfalls that make signals hard to debug.
  9. 29 Templates Deep Dive Master the Django template language: contexts, inheritance, includes, custom tags and filters, autoescaping, and performance tips for building maintainable server-rendered UIs.