def db_value(self, value):
        """Convert the Arrow instance to a datetime for saving in the db."""
        if isinstance(value, string_types):
            value = arrow.get(value)

        if isinstance(value, arrow.Arrow):
            value = value.datetime

        return super(ArrowDateTimeField, self).db_value(value)