[Answered ]-Django view to retrieve data from model returns object name only

2👍

Watch the naming of special methods:

def _unicode_(self):
    ...

should be:

def __unicode__(self):
    ...

Python special methods have two underscores on each end of the name.

Leave a comment