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 ...
This book offers over 70 practical recipes to help you create scalable websites using the Django 1.8 framework. It covers new features added in this version and includes recipes of varying complexities for building multilingual, responsive, and scalable sites. Aimed at intermediate and professional Django users, it enhances your skills in developing models, forms, views, and templates.
You will learn to configure a Django project, build a database structure with reusable model mixins, manage forms and views, and create reusable template filters and tags. The book also guides you in integrating functionality into the Django CMS, managing hierarchical structures with MPTT, and importing/exporting data from local sources and external web services. Additionally, it covers implementing multilingual search with Haystack and efficient project testing and deployment.
Django is designed for rapid development and high performance, capable of handling applications with significant user traffic and integrating with large databases. This task-based approach simplifies collecting data from various sources and presenting it in different formats. You will start by setting up a virtual environment, writing reusable code for models, managing database schema changes, and working with forms and views. The book concludes with programming and debugging tips, as well as guidance on testing and deploying your project. By the end, you will have a so
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.