This makes string representations of lists, tuples, dicts, etc. with the
DB objects make sense
def __str__(self):
return unicode(self).encode('utf8')
def __str__(self):
return unicode(self).encode('utf8')
+ def __repr__(self):
+ return unicode(self).encode('utf8')
+
mapped_classes = []
class TableMetaclass(DeclarativeMeta):
def __init__(cls, name, bases, attrs):
mapped_classes = []
class TableMetaclass(DeclarativeMeta):
def __init__(cls, name, bases, attrs):