Home » Programming » Django 3 By Example

Django 3 By Example

Pdf Book Name: Django 3 By Example: Build powerful and reliable Python web applications from scratch
Author: Antonio Melé
Publisher: Packt Publishing Ltd
ISBN-10, 13: 1838989323,9781838989323
Year: 2020
Pages: 568 / 569 pages
Language: English
File size: 10 MB
File format: PDF,EPUB

Django 3 By Example: Build powerful and reliable Python web applications from scratch Pdf Book Description:

Django is a powerful Python web framework with a relatively shallow learning curve. You can easily build simple web applications in a short time. Django is also a robust and scalable framework that can be used to create large-scale web applications with complex requirements and integrations. This makes Django attractive for both beginners and expert programmers. In this book, you will learn how to build complete Django projects that are ready for production use. If you haven’t installed Django yet, you will discover how to do so in the first part of this chapter. This chapter covers how to create a simple blog application using Django. The chapter’s purpose is to help you to get a general idea of how the framework works, an understanding of how the different components interact with each other, and the skills to easily create Django projects with basic functionality. You will be guided through the creation of a complete project, but I will go into more detail on this later.

The different framework components will be explored in detail throughout this book. If you have already installed Django, you can skip this section and jump directly to the Creating your first project section. Django comes as a Python package and thus can be installed in any Python environment. If you haven’t installed Django yet, the following is a quick guide to installing it for local development. Django 3 continues the path of providing new features while maintaining the core functionalities of the framework. The 3.0 release includes for the first time Asynchronous Server Gateway Interface (ASGI) support, which makes Django fully async capable. Django 3.0 also includes official support for MariaDB, new exclusion constraints on PostgreSQL, filter expressions enhancements, and enumerations for model field choices, as well as other new features. Django 3.0 supports Python 3.6, 3.7, and 3.8. In the examples in this book, we will use Python 3.8.2. If you’re using Linux or macOS, you probably have Python installed. If you’re using Windows, you can download a Python installer at https://www.python.org/downloads/windows/. If you’re not sure whether Python is installed on your computer, you can verify this by typing python into the shell. If you see something like the following, then Python is installed on your computer. Since version 3.3, Python has come with the venv library, which provides support for creating lightweight virtual environments. Each virtual environment has its own Python binary and can have its own independent set of installed Python packages in its site directories. Using the Python venv module to create isolated Python environments allows you to use different package versions for different projects, which is far more practical than installing Python packages system-wide. Another advantage of using venv is that you won’t need any administration privileges to install Python packages.

DMCA Disclaimer: This site complies with DMCA Digital Copyright Laws. Please bear in mind that we do not own copyrights to these books. We’re sharing this material with our audience ONLY for educational purpose. We highly encourage our visitors to purchase original books from the respected publishers. If someone with copyrights wants us to remove this content, please contact us immediately. All books on the edubookpdf.com are free and NOT HOSTED ON OUR WEBSITE. If you feel that we have violated your copyrights, then please contact us immediately (click here).

Add a Comment

Your email address will not be published.