- 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! Foreword by Michael Kennedy. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. 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
1 Django unfolds
2 Your first Django site
3 Templates
4 Django ORM
5 Django Admin
PART 2
6 User management
7 Forms, user data, static files, and uploads
8 Testing your project
9 Management commands
10 Migration
PART 3
11 APIs
12 Making your pages more dynamic with HTMX
13 Django power tools
14 Where to go next
Appendix A
Appendix B
Appendix C
Appendix D
Appendix E