Django 5 for the Impatient: Learn the core concepts of Django to develop Python web applications
Author: Daniel Correa (Author), Greg Lim (Author)
Publisher finelybook 出版社: Packt Publishing
Edition 版次: 2nd ed.
Publication Date 出版日期: 2024-09-27
Language 语言: English
Print Length 页数: 228 pages
ISBN-10: 1835461557
ISBN-13: 9781835461556
Book Description
Get up and running with Django quickly by delving into practical code examples and build real-world Django applications
Key Features
- Develop web applications with Python and Django quickly
- Understand Django features with concise explanations and learn how to use them in a practical way
- Create a movie store app with a responsive user interface and deploy it to the cloud
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
By finelybook
Learning Django can be a challenging and time-consuming activity without the right guidance. With hundreds of tutorials, loads of documentation, and unclear explanations out there, it’s easy to lose sight of what’s most important. This book stands out by teaching you how to use Django in just a few days with a focused approach. In this second edition, you’ll go on a fun, practical, and pragmatic journey to learning full-stack development with Django 5. You’ll start building your first Django app within minutes. As you progress, you’ll learn from concise explanations that will help you get to grips with some of the most important Django features, including URLs, views, templates, models, CSS inclusion, image storage, Django admin panel, and more. You’ll also understand how to design Django MVT (Model-View-Template) architectures and implement them. Additionally, you’ll use Django to develop a movie store application and deploy it to the internet.
By the end of this book, you’ll be able to build and deploy your own Django web applications confidently.
What you will learn
- Understand and use Django key features, including URLs, templates, models, and forms
- Implement responsive user interfaces using Bootstrap
- Manage data storage in databases effectively
- Explore the powerful built-in admin interface with Django
- Harness Django’s powerful built-in authentication system
- Deploy your Django project on the internet for users
Who this book is for
This book is for Python developers of any experience level who want to build full-stack web applications using Django. Anyone new to Django can get started with this book.
Table of Contents
- Installing Python and Django, and Introducing the Movies Store Application
- Understanding the Project Structure and Creating Our First App
- Designing a Base template
- Creating a Movies App with Dummy Data
- Working with Models
- Collecting and Displaying Data from the Database
- Understanding the Database
- Implementing User Signup and Login
- Letting Users Create, Read, Update, and Delete Movie Reviews
- Implementing a Shopping Cart System
- Implementing Order and Item Models
- Implementing the Purchase and Orders Pages
- Deploying the Application to the Cloud
About the Author
Daniel Correa is a researcher, software developer, and author of programming books. Holding a PhD in computer science, he also serves as a professor at Universidad EAFIT in Colombia. His interests lie in software architectures, frameworks, web development, and clean code.
Greg Lim is a technologist and the author of several books on programming. He has taught programming in tertiary institutions for many years and places a strong emphasis on learning by doing.