Django is a framework designed to balance rapid web development with high performance. It handles high levels of user traffic and interaction, integrates with a variety of databases, and collects and processes data in real time. This book follows a task-based approach to guide you through developing with the Django 2.1 framework, starting with ...
Actionable Solutions to Common Problems in Python Web Development, 4th Edition
608 pages
22 hours of reading
Practical recipes for building fast, robust, and secure web apps using Django 3 and Python. Key features include exploring the latest version of Django with practical examples, following a task-based approach to develop professional web apps, and learning to deploy, scale, and secure apps using Docker and AWS.
This updated edition guides you through the development process with Django 3's latest features, starting with creating a virtual environment and project structure for Python web apps. You'll learn to build models, views, forms, and templates, integrating JavaScript for enhanced functionality. As you progress, you'll create responsive multilingual websites and share them on social networks. The content covers uploading and processing images, rendering data in HTML5, PDF, and Excel, using and creating APIs, and managing different data types in Django.
You'll gain insights into security best practices and caching techniques to improve your website's security and speed. This edition supports both PostgreSQL and MySQL databases and includes advanced recipes for using Django with Docker and Ansible across various environments. By the end, you'll be proficient in Django's powerful features, ready to create robust websites.
This book is ideal for Python web developers aiming to build fast, secure web apps that scale. A background in Python 3 and basic Django knowledge will enhance your experience.