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:
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