Skip to Content
Django in Action
book

Django in Action

by Christopher Trudeau
July 2024
Beginner to intermediate
400 pages
13h 23m
English
Manning Publications
Audiobook available

Overview

Build professional quality web applications using Python and the Django 5.0 web framework.

The Django web application framework powers huge sites like Netflix, Dropbox, YouTube, and Spotify. Learn how it can power your web apps too! In this hands-on book, you’ll begin building a fully functional web application with Django starting with chapter 1.

In Django in Action you’ll:

  • Build a multi-user web site in Django
  • Read, write, and manage data
  • Create reusable and composable HTML templates
  • Manage user data including form submissions and file uploads
  • Set up authentication, authorization, and per-person-per-page permissions
  • Manage the backend using the Django Admin tool
  • Discover Django libraries and plugins

Django in Action is the perfect way to get started for new Django developers creating their first Python-based web apps. It’s written by Christopher Trudeau, co-host of The Real Python Podcast and creator of dozens of popular courses at Real Python and TalkPython. The book starts with Django’s basics and works through all of the core concepts of the framework until you’re comfortable and confident creating your own web apps. You’ll especially enjoy the author’s lighthearted style that makes learning fun!

About the Technology
Django makes life easier for Python web developers. This “batteries included” framework comes packed with everything you need—a template engine that crafts HTML-like code, efficient user management features, automated testing, robust API support, and much more. If you know the basics of Python, Django will help you build professional-quality web applications. This book will show you how.

About the Book
In Django in Action you’ll dive deep into Django as you build a complete multi-user website. Hands-on from the start, each chapter introduces new features to your site, including password management and authentication, web forms and file uploads, and dynamic, JavaScript-like interactivity. You’ll see how all the components of a Django project come together while learning practical tips on leveraging third-party libraries and deploying your code to production.

What's Inside
  • Reusable and composable HTML templates
  • Reading, writing, and managing data
  • Backend management with Django Admin
  • Exploring Django libraries and plugins


About the Reader
For readers with basic Python programming and some HTML knowledge.

About the Author
Christopher Trudeau is the co-host of the Real Python Podcast, a prolific author of Django and Python articles and video courses, and an experienced Python developer.

Quotes
A great companion on your Django journey. It lays out Django in an easy-to-follow format. I wish I had this book when I was learning Django.
- Mike Driscoll, Teach Me Python

Feels like Christopher is taking me through the material in person. It was a joy to read.
- Stephen Gruppetta, The Python Coding Place

A brisk-paced roadmap to getting the most out of web applications created with Django. I would want this book on my desk.
- Doug Farrell, Author of The Well-Grounded Python Developer

Approachable, with the clear goal to get you building projects with Django. The chapter on HTMX and suggested libraries and resources is a huge plus.
- Christopher Bailey, Real Python

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

Web Development with Django - Second Edition

Web Development with Django - Second Edition

Ben Shaw, Saurabh Badhwar, Chris Guest, Bharath Chandra K S
Web Development with Django

Web Development with Django

Ben Shaw, Saurabh Badhwar, Andrew Bird, Bharath Chandra K S, Chris Guest, Bidhan Mondal

Publisher Resources

ISBN: 9781633438163Publisher SupportPublisher Website