Make a website with Django

Project
Work through the official Django tutorial, where you'll create an interactive poll application.

Goals

 * Learn the basics of the Django web application framework
 * Practice writing classes and thinking about inheritance
 * Practice using Python to interact with a database
 * Think about how web servers and clients interact

Install Django
Please follow the instructions in the official installation guide to install Django.

Test your installation
From a Python prompt, type:

import django

and hit enter. If nothing gets printed, you had no error importing the  library, so you've successfully installed Django!

Project steps
The official Django tutorial walks you through creating an interactive polling application in 4 parts.

1. Complete Part 1 of the tutorial

 * Please visit https://docs.djangoproject.com/en/1.4/intro/tutorial01/ and complete part 1 of the tutorial.

In this part, you'll create a new project, learn how to run your development server, set up a database, and create some models for your polling app.

Check your understanding: What does  return?

1. Complete Part 2 of the tutorial

 * Please visit https://docs.djangoproject.com/en/1.4/intro/tutorial02/ and complete part 2 of the tutorial.

Check your understanding: What does  return?

1. Complete Part 3 of the tutorial

 * Please visit https://docs.djangoproject.com/en/1.4/intro/tutorial03/ and complete part 3 of the tutorial.

Check your understanding: What does  return?

1. Complete Part 4 of the tutorial

 * Please visit https://docs.djangoproject.com/en/1.4/intro/tutorial04/ and complete part 4 of the tutorial.

Check your understanding: What does  return?

Bonus exercises
If you have time, try out some of these extra exercises.

1. Customize how tweets are printed by
The tweets printed by  could look much nicer and have more useful metadata!

Customize how tweets are displayed. Look at the  and   classes in http://code.google.com/p/python-twitter/source/browse/twitter.py for inspiration; options include displaying:
 * the sender of the tweet
 * the URL for the tweet
 * how many followers the sender has
 * the location of the sender
 * if it was a retweet

and more!