Django 3 By Example, 3rd Edition
- Length: 568 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2020-03-31
- ISBN-10: 1838981950
- ISBN-13: 9781838981952
- Sales Rank: #1037602 (See Top 100 Books)
Learn Django 3 with four end-to-end web projects
Key Features
- Learn Django 3 by building real-world web applications from scratch in Python, using coding best practices
- Integrate other technologies into your application with clear, step-by-step explanations and comprehensive example code
- Implement advanced functionalities like a full-text search engine, a user activity stream, or a recommendation engine
- Add real-time features with Django Channels and WebSockets
Book Description
If you want to learn the entire process of developing professional web applications with Python and Django, then this book is for you. In the process of building four professional Django projects, you will learn about Django 3 features, how to solve common web development problems, how to implement best practices, and how to successfully deploy your applications.
In this book, you will build a blog application, a social image bookmarking website, an online shop, and an e-learning platform. Step-by-step guidance will teach you how to integrate popular technologies, enhance your applications with AJAX, create RESTful APIs, and set up a production environment for your Django projects.
By the end of this book, you will have mastered Django 3 by building advanced web applications.
What you will learn
- Build real-world web applications
- Learn Django essentials, including models, views, ORM, templates, URLs, forms, and authentication
- Implement advanced features such as custom model fields, custom template tags, cache, middleware, localization, and more
- Create complex functionalities, such as AJAX interactions, social authentication, a full-text search engine, a payment system, a CMS, a RESTful API, and more
- Integrate other technologies, including Redis, Celery, RabbitMQ, PostgreSQL, and Channels, into your projects
- Deploy Django projects in production using NGINX, uWSGI, and Daphne
Who this book is for
This book is intended for developers with Python knowledge who wish to learn Django in a pragmatic way. Perhaps you are completely new to Django, or you already know a little but you want to get the most out of it. This book will help you to master the most relevant areas of the framework by building practical projects from scratch. You need to have familiarity with programming concepts in order to read this book. Some previous knowledge of HTML and JavaScript is assumed.
Table of Contents
- Building a Blog Application
- Enhancing Your Blog with Advanced Features
- Extending Your Blog Application
- Building a Social Website
- Sharing Content on Your Website
- Tracking User Actions
- Building an Online Shop
- Managing Payments and Orders
- Extending Your Shop
- Building an E-Learning Platform
- Rendering and Caching Content
- Building an API
- Building a Chat Server
- Going Live