Exemplo n.º 1
0
 def __repr__(self):
     """
     Fields are represented using their initial calling arguments.
     This allows us to create descriptive representations for serializer
     instances that show all the declared fields on the serializer.
     """
     return representation.field_repr(self)
Exemplo n.º 2
0
 def __repr__(self):
     """
     Fields are represented using their initial calling arguments.
     This allows us to create descriptive representations for serializer
     instances that show all the declared fields on the serializer.
     """
     return unicode_to_repr(representation.field_repr(self))