Skip to Content
Modern Django Web Development: With Channels, DRF, GraphQL, and React
book

Modern Django Web Development: With Channels, DRF, GraphQL, and React

by Malhar Lathkar
July 2025
Intermediate to advanced
441 pages
6h 44m
English
Apress

Overview

Django has evolved into a powerful full-stack framework ideal for developing data-driven web applications, continuously expanding with new tools for asynchronous solutions, APIs, and real-time applications. This book explores modern Django development best practices, including Django Channels for WebSockets, Django REST Framework (DRF) for REST APIs, Graphene and Strawberry for GraphQL APIs, and integrating a front-end built with React The content is structured into two main parts, covering both fundamental and advanced concepts in a practical and digestible manner.

The first part introduces Django's core concepts, starting with an overview of web development and Python’s asyncio module for asynchronous processing. It then walks you through Django installation, project setup, and the admin interface. The Model-View-Template (MVT) architecture is explained in depth, with chapters on models, views, and templates, illustrating real-world examples. Additionally, it covers database interactions, introducing SQLAlchemy ORM and MongoDB integration to extend Django’s capabilities beyond its default ORM.

The second part delves into advanced Django features and the broader ecosystem. Topics include authentication, security, messaging, and reusable apps such as the Django toolbar. REST API development with Django REST Framework is explored, followed by an introduction to building GraphQL APIs using Graphene and Strawberry. A dedicated chapter covers Django Channels and the WebSocket protocol for real-time applications. Modern Django Web Development concludes with integrating React to develop front-end clients for Django-based REST, GraphQL, and WebSocket APIs, enabling a full-stack development experience.

You Will:

  • Explore the full spectrum of modern Django development
  • Learn how to use SQLAlchemy MongoDB with Django
  • Understand Django Channels for asynchronous web apps
  • Explore DRF for building REST API in Django
  • Learn how to build GraphQL API with Graphene and Strawberry
  • Understand how to develop a Django-React app

Who is it for:

Software developers, web developers and engineers who are interested in adding Django to their development skillset. Python Developers can also leverage the power of modern Django with the help of this practical guide.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Django REST APIs Demystified: Simplifying API Development with Django

Django REST APIs Demystified: Simplifying API Development with Django

Ganeshkumar Patil
Web Development with Django - Second Edition

Web Development with Django - Second Edition

Ben Shaw, Saurabh Badhwar, Chris Guest, Bharath Chandra K S

Publisher Resources

ISBN: 9798868814723Purchase LinkPublisher Website