def _attach_to_instance(self, instance):
        """
        Attach the current field to an instance of a model. Can be overriden to
        do something when an instance is set
        """
        self._instance = instance
        self.lockable = self.lockable and instance.lockable
Attach the current field to an instance of a model. Can be overriden to
        do something when an instance is set