Closed GoogleCodeExporter closed 9 years ago
I forgot the model class:
class Timer(object):
def __init__(self, **kwargs):
self.__dict__.update(kwargs)
def __unicode__(self):
return unicode(str(self.ora))
__str__ = __unicode__
I expected it would render like this
>>> import datetime
>>> unicode(str(datetime.time(0)))
u'00:00:00'
Original comment by neur...@gmail.com
on 19 Oct 2010 at 10:03
fixed. thanks
Original comment by gael.pas...@gmail.com
on 11 Nov 2010 at 1:09
Original issue reported on code.google.com by
neur...@gmail.com
on 19 Oct 2010 at 9:59