示例#1
0
 def __repr__(self):
     return unicode_to_repr('<%s(queryset=%s, field=%s, date_field=%s)>' % (
         self.__class__.__name__,
         smart_repr(self.queryset),
         smart_repr(self.field),
         smart_repr(self.date_field)
     ))
示例#2
0
 def __repr__(self):
     return unicode_to_repr('<%s value=%s errors=%s>' % (
         self.__class__.__name__, self.value, self.errors
     ))
示例#3
0
 def __repr__(self):
     return unicode_to_repr('<%s(queryset=%s)>' % (
         self.__class__.__name__,
         smart_repr(self.queryset)
     ))