TRIVIAL add __repr__ to Field class

This commit is contained in:
Itai Shirav 2020-05-01 16:28:15 +03:00
parent 3c38c8ec40
commit 127824c026

View File

@ -45,6 +45,9 @@ class Field(FunctionOperatorsMixin):
def __str__(self):
return self.name
def __repr__(self):
return '<%s>' % self.__class__.__name__
def to_python(self, value, timezone_in_use):
'''
Converts the input value into the expected Python data type, raising ValueError if the