'Support for UUIDs on psql'

def _default_value_workaround(self, value):

    if isinstance(value, uuid.UUID):
        return str(value)
    else:
        return super(DatabaseOperations, self)._default_value_workaround(value)
