About this item
Highlights
- Build professional quality web applications using Python and the Django 5.0 web framework.
- About the Author: Christopher Trudeau has built high performing teams in a variety of industries including gaming, marketing, travel, finance, government, and consulting.
- 400 Pages
- Computers + Internet, Web
Description
About the Book
Django in Action is the perfect way to get started for new Django developers creating their first Python-based web apps. As you work through the book, you'll create and upgrade a web application as you explore useful and exciting Django plug-ins, and tackle challenging exercises that help lock-in your new skills.
Book Synopsis
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! 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
From the Back Cover
From the Back Cover:
Django in Action teaches Django from scratch. All you need to get started are some basic Python skills. Chapter by chapter, you'll construct a complete multi-user website for RiffMates: a classified ads site aimed at rocking musicians. 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. As you go, you'll dive into great third-party libraries from the Django community that let you customize Django. You'll even learn how to use Django with single-page web apps, REST APIs, and more.
About the reader:
For readers who know the basics of Python programming and some HTML.
About the Author
Christopher Trudeau has built high performing teams in a variety of industries including gaming, marketing, travel, finance, government, and consulting. He has authored content for Talk Python and Real Python, including articles and video courses on a variety of Django and Python topics. He is co-author of the yearly feature round-up for new Python releases and co-host of the Real Python Podcast.