O'Reilly logo

Instant Django 1.5 Application Development Starter by Mauro Rocco

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Quick start – your first Django project

Let's start from the basics. Django is based on projects, so the first thing we will do is to create one and then test it on our browser.

Step 1 – Create your first project

To get started with Django the first thing we need to do is to create a project.

A project is just a collection of settings organized in a defined folder structure to run an instance of Django and they can be autogenerated using a Django-admin command offered by the Django package.

Note

If you are using Windows you will need to add the path of the Script folder containing the Django-admin command (C:\Python27\Script) to the environment variables.

From the command line, move into a directory where you would like to store your project and run ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required