Пример #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(queryset=%s)>' % (
         self.__class__.__name__,
         smart_repr(self.queryset)
     ))