def get_python(self):
value = super(DatetimeField, self).get_python()<EOL>if value is not None:<EOL><INDENT>if self.input_type == self._type_time:<EOL><INDENT>value = value.time()<EOL><DEDENT>if self.input_type == self._type_date:<EOL><INDENT>value = value.date()<EOL><DEDENT><DEDENT>return value<EOL>
Coerce to best date type representation for the field subtype