Django 2 Web Development Cookbook: 100 practical recipes on building scalable Python web apps with Django 2, 3rd Edition

Django 2 Web Development Cookbook: 100 practical recipes on building scalable Python web apps with Django 2, 3rd EditionReviews
Author: Jake Kronika
Pub Date: 2019
ISBN: 978-1788837682
Pages: 544
Language: English
Format: PDF/EPUB
Size: 82 Mb


Create unbelievably fast, robust and secure web apps with Django web framework and Python 3.6
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 using the Django 2.1 framework.
You’ll get started by setting up and configuring Docker containers and a virtual environment for your project. Next, you’ll learn how to write reusable pieces of code for your models and manage database changes. You’ll then work with forms and views to enter and list data, and even apply practical examples using both templates and JavaScript for the optimum user experience. This Django cookbook will also help you adjust the built-in Django administration to fit your needs and boost security and performance to make your web applications as robust, scalable, and dependable as possible. A dedicated section will later guide you on how to use Django CMS, the popular content management suite. Finally, you’ll get up to speed with programming and debugging tricks. The book’s systematic approach will also help you easily collect data from different sources and provide it to others in various formats.
By the end of this book, you’ll have the skills you need to test and deploy projects to a remote dedicated server and scale your application to meet user demand.
What you will learn

  • Learn how to set up the basic configuration necessary to start any Django project
  • Build a database structure out of reusable model mixins
  • Secure web applications against malicious usage and address common performance bottlenecks
  • Integrate and extend the Django CMS
  • Construct and manage complex and deep hierarchies
  • Import data from local sources and external web services and export it to third parties