The tutorial on the django website shows this code for the models:
from django.db import models class Poll(models.Model): question = models.CharField(ma
A class instance has a namespace implemented as a dictionary which is the first place in which attribute references are searched.
http://docs.python.org/reference/datamodel.html