Tutorial 6 : Views anf Templates
For details visit
http://www.tangowithdjango.com/book/chapters/models_templates.html