Your indentation is wrong. The 'def __unicode__' line needs to be
intended to the same level as question and pub_date, else it won't be
considered part of the Poll class.
Cheers,
Dan
--
Dan Fairs <dan....@gmail.com> | http://www.fezconsulting.com/
--