Chapter 2. Getting Started
We think it's best to get a running start. The details and extent of the Django framework will be fleshed out in later chapters, but for now, trust usthis chapter will be fun.
Installing Django is easy. Because Django runs anywhere Python does, Django can be configured in many ways. We cover the common scenarios for Django installations in this chapter. Chapter 20 covers deploying Django to production.
Installing Python
Django is written in 100% pure Python code, so you'll need to install Python on your system. Django requires Python 2.3 or higher.
If you're on Linux or Mac OS X, you probably already have Python installed. Type python
at a command prompt (or in Terminal, in OS X). If you see something like this, then Python ...
Get The Definitive Guide to Django: Web Development Done Right 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.