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