(self, value, lookup=None)
return self.to_python(value)
Convert ``value`` to a valid database representation for this field.

This method is invoked by the Query algorithm.
Convert ``value`` to a valid database representation for this field.
Convert value to a valid database representation for this field .
def serialise(self, value, lookup=None):
        '''Convert ``value`` to a valid database representation for this field.

This method is invoked by the Query algorithm.'''
        return self.to_python(value)
def serialise ( self , value , lookup = None ) : return self . to_python ( value )