Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Django 5 By Example: Build powerful and reliable Python web applications from scratch
Purchase options and add-ons
2025 EDITION: Build four fully functional real-world Django applications with authentication, content management systems, payment processing, REST APIs, and more!
Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*
Key Features
- Updated with the latest Django 5.2 features, detailed app planning, improved tooling, and GPT prompts for extending projects
- Learn Django essentials, including models, ORM, views, templates, URLs, forms, authentication, signals, and middleware
- Integrate JavaScript, PostgreSQL, Redis, Celery, Docker, and Memcached into your applications
Book Description
If you want to learn Django by doing, this book is for you.
This 2025 EDITION, fully updated to Django 5.2 LTS, is the fifth edition of the best-selling Django By Example franchise that helps you build real-world web apps. This book will walk you through planning and creation, solving common problems, and implementing best practices using a step-by-step approach.
You’ll cover a wide range of web application development topics through four different projects: a blog application, a social website, an e-commerce application, and an e-learning platform. Pick up what’s new in Django 5 as you build end-to-end Python web apps, follow detailed project plans, and understand the hows and whys of Django.
This is a practical and approachable book that will have you creating web apps quickly.
*Email sign-up and proof of purchase required
What you will learn
- Use various Django modules to solve specific problems using the latest features
- Integrate third-party Django applications into your project
- Build complex web applications using Redis, Postgres, Celery/RabbitMQ and Memcached
- Set up a production environment for your project with Docker Compose
- Build a RESTful API with Django Rest Framework (DRF)
- Implement advanced functionalities, such as full-text search engines, user activity streams, payment gateways, and recommender engines
- Build real-time asynchronous (ASGI) apps with Django Channels and WebSockets
Who this book is for
This book is for readers with basic Python programming knowledge and programmers transitioning from other web frameworks who wish to learn Django by doing. If you already use Django, or have in the past, and want to learn best practices and integrate other technologies to scale your applications, then this book is for you too. This book will help you master the most relevant areas of the framework by building practical projects from scratch.
Some previous knowledge of HTML and JavaScript is assumed.
Table of Contents
- Building a Blog Application
- Enhancing Your Blog and Adding Social Features
- Extending Your Blog Application
- Building a Social Website
- Implementing Social Authentication
- Sharing Content on Your Website
- Tracking User Actions
- Building an Online Shop
- Managing Payments and Orders
- Extending Your Shop
- Adding Internationalization to Your Shop
- Building an E-Learning Platform
- Creating a Content Management System
- Rendering and Caching Content
- Building an API
- Building a Chat Server
- Going Live
- ISBN-101805125451
- ISBN-13978-1805125457
- Edition5th
- PublisherPackt Publishing
- Publication dateApril 30, 2024
- LanguageEnglish
- Dimensions7.5 x 1.86 x 9.25 inches
- Print length820 pages
Frequently bought together

Customers who viewed this item also viewed
- Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to ProgrammingPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Sunday, Sep 20
- Django for Beginners, 5th Edition: Build Modern Web Applications with PythonPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Fluent Python: Clear, Concise, and Effective ProgrammingPaperbackFREE Shipping by AmazonGet it as soon as Sunday, Sep 20
- Web Development with Django 6: A definitive guide to building modern Python web applications using Django 6PaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Ultimate Django for Web App Development Using Python: Build Modern, Reliable and Scalable Production-Grade Web Applications with Django and Python (English Edition)PaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Django for Professionals: Production websites with Python & Django (Welcome to Django)PaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Tuesday, Sep 22Only 1 left in stock - order soon.
Customers also bought or read
- Django for Beginners, 5th Edition: Build Modern Web Applications with Python
Paperback$35.86$35.86FREE delivery Mon, Sep 21 - Django for APIs, 5th Edition: Build Web APIs with Python and Django
Paperback$39.99$39.99FREE delivery Mon, Sep 21 - React Key Concepts: An in-depth guide to React's core features
Paperback$23.71$23.71Delivery Mon, Sep 21 - Modern Full-Stack React Projects: Build, maintain, and deploy modern web apps using MongoDB, Express, React, and Node.js
Paperback$42.66$42.66FREE delivery Sun, Sep 20 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Sun, Sep 20 - Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices
Paperback$37.10$37.10FREE delivery Sun, Sep 20 - Django for Professionals: Production websites with Python & Django (Welcome to Django)
Paperback$33.79$33.79Delivery Tue, Sep 22 - Python Machine Learning By Example: Unlock machine learning best practices with real-world use cases
Paperback$29.55$29.55Delivery Mon, Sep 21 - Responsive Web Design with HTML5 and CSS: Build future-proof responsive websites using the latest HTML5 and CSS techniques
Paperback$44.99$44.99FREE delivery Mon, Sep 21 - Python 3: The Comprehensive Guide to Hands-On Python Programming (Rheinwerk Computing)
Paperback$53.79$53.79FREE delivery Sun, Sep 20 - Ultimate Django for Web App Development Using Python: Build Modern, Reliable and Scalable Production-Grade Web Applications with Django and Python (English Edition)
Paperback$37.95$37.95FREE delivery Mon, Sep 21 - Django 5 for the Impatient: Learn the core concepts of Django to develop Python web applications
Paperback$36.99$36.99FREE delivery Sun, Sep 20 - React and React Native: Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile
Paperback$43.99$43.99FREE delivery Mon, Sep 21 - Full Stack Web Development: A Comprehensive, Hands-On Guide to Building Modern Websites and Applications (IBPA Gold Award Winner) (Rheinwerk Computing)
Paperback$44.80$44.80FREE delivery Sun, Sep 20 - C# 13 and .NET 9 – Modern Cross-Platform Development Fundamentals: Start building websites and services with ASP.NET Core 9, Blazor, and EF Core 9
Paperback$53.25$53.25FREE delivery Mon, Sep 21 - Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerFunctional Software Programming
Paperback$27.53$27.53Delivery Sun, Sep 20 - Mastering Node.js Web Development: Go on a comprehensive journey from the fundamentals to advanced web development with Node.js
Paperback$47.49$47.49FREE delivery Mon, Sep 21 - Learn React with TypeScript: A beginner's guide to building real-world, production-ready web apps with React 19 and TypeScript
Paperback$38.99$38.99FREE delivery Mon, Sep 21 - Flask Web Development: Developing Web Applications with Python
Paperback$40.26$40.26FREE delivery Sep 29 - Oct 1 - The Road to React: Your journey to master plain yet pragmatic React.js
Paperback$29.99$29.99Delivery Mon, Sep 21 - Responsive Web Design with HTML5 and CSS: Build future-proof responsive websites using the latest HTML5 and CSS techniques
Paperback$27.57$27.57Delivery Mon, Sep 21 - Powerful Python: Patterns and Strategies with Modern Python
Paperback$39.89$39.89FREE delivery Sun, Sep 20 - FastAPI Cookbook: Develop high-performance APIs and web applications with Python
Paperback$43.49$43.49FREE delivery Mon, Sep 21 - JavaScript and jQuery: Interactive Front-End Web Development
Paperback$17.16$17.16$3.99 delivery Tue, Sep 22
From the Publisher
Editorial Reviews
About the Author
Antonio Melé has been crafting Django projects since 2006, for clients spanning multiple industries. He is Engineering Director at Backbase, a leading global fintech firm dedicated to facilitating the digital transformation of financial institutions. He co-founded Nucoro, a digital wealth management platform. In 2009 Antonio founded Zenx IT, a company specialized in developing digital products. He has been working as CTO and consultant for several tech-centric startups. He has also managed development teams building projects for large enterprise clients. He has an MSc in Computer Science from Universidad Pontificia Comillas and completed the Advanced Management Program at MIT Sloan. His father inspired his passion for computers and coding.
Product details
- Publisher : Packt Publishing
- Publication date : April 30, 2024
- Edition : 5th
- Language : English
- Print length : 820 pages
- ISBN-10 : 1805125451
- ISBN-13 : 978-1805125457
- Item Weight : 3.05 pounds
- Dimensions : 7.5 x 1.86 x 9.25 inches
- Best Sellers Rank: #807,890 in Books (See Top 100 in Books)
- #127 in Web Services
- #685 in Python Programming
- #1,392 in Computer Programming Languages
- Customer Reviews:
About the author

Antonio Mele is Chief Technology Officer at Nucoro, a London-based fintech company that provides a leading technology platform to build digital wealth management solutions. Antonio has been developing Django projects since 2006 for clients across several industries.
In 2009, Antonio founded Zenx IT, a development company specializing in building digital products. Antonio has worked as a CTO and technology consultant for multiple technology-based start-ups and managed development teams building projects for large digital businesses. Antonio holds an MSc. in Computer Science from Universidad Pontificia Comillas and speaks English, Spanish, German and a bit of Mandarin.


















