Exemplo n.º 1
0
 def __repr__(self):
     options = ["%s='%s'" % (f.name, f) for f in self.fields if not f.is_default]
     if self.start_date:
         options.append("start_date='%s'" % datetime_repr(self.start_date))
     return '<%s (%s)>' % (self.__class__.__name__, ', '.join(options))