Create modern, secure websites easily and quickly with Django 6 through realistic case studies updated for the latest async features and modern Python support
Key Features:
- Get to grips with Django 6 functionality, the MVT paradigm, and its new async-powered features
- Build and extend a book-review site using updated templates, forms, async features, and ORM tools
- Explore REST APIs, async views, third-party integrations, testing, and modern deployment options
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description:
Tired of spending hours on boilerplate code when you should be building features? Django 6 transforms your workflow with major improvements to the Python web ecosystem-from expanded async support to improved form rendering, stronger security, and modern template and ORM capabilities. This book shows you how to take full advantage of these upgrades to build reliable, secure, and high-performance web applications in a structured, hands-on way.
You'll discover Django 6's power by building an end-to-end case study of developing a website called Bookr, a repository for book reviews that mirrors real development workflows. Through guided practical exercises, you'll learn how to serve static files, implement forms using Django 6's improved rendering system, handle async views and ORM operations, and manage sessions to create a seamless user experience. You'll also tackle essential tasks such as authentication, security best practices, and integrating modern front-end tools.
By the end of this Django book, you'll be ready to build and deploy your own scalable, modern Python web applications using Django 6.
What You Will Learn:
- Start a new Django 6 project and define models using the improved ORM
- Work with function and class-based views using templates to control application behavior
- Implement authentication, permissions, and modern session handling techniques
- Create practical forms using Django 6's updated rendering API
- Build RESTful APIs and the JavaScript features that integrate with them
- Connect to PostgreSQL and run async-ready queries where supported
Who this book is for:
This book is for programmers who want to enhance their web development skills with Django 6. You'll get the most out of it if you already know Python programming and are familiar with JavaScript, HTML, and CSS. This book is especially useful for anyone looking to understand Django's new async capabilities, modern security features, and production-ready web development patterns.
Table of Contents
- Introduction to Django
- Models and Migrations
- Django Views, URL Configuration, and Templates
- An Introduction to Django Admin
- Serving Static Files
- Forms
- Advanced Form Validation and Model Forms
- Media Serving and File Uploads
- Sessions and Authentication
- Advanced Django Admin and Customizations
- Advanced Templating and Class-Based Views
- Building a REST API
- Generating CSV, PDF, and Other Binary Files
- Testing Your Django Applications
- Deploying a Django Project
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。