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.
Source:stackexchange.com
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.