Chapter 2. Getting Started
Installing Django is a multistep process because of the multiple moving parts in modern Web development environments. In this chapter, we'll walk you through how to install the framework and its few dependencies.
Because Django is "just" Python code, it runs anywhere Python does—including on some cell phones! But this chapter just covers the common scenarios for Django installations. We'll assume that you're installing it either on a desktop/laptop machine or on a server.
Later on (in Chapter 12), we'll cover how to deploy Django to a production site.
Installing Python
Django is written purely in Python, so the first step in installing the framework is to make sure that you have Python installed.
Python Versions
The core Django ...
Get The Definitive Guide to Django: Web Development Done Right, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.