I have a model x which has a field named y. y is foreignkey. Assuming y’s value is set to z(which is an instance), i want to remove that z value and set it to empty. How can i do that?
now x.y==z(instance)
i want to set it x.y=None or null which is an update operation.
is there some sort of operation like x.y.update(None) ?
or removing that field value is also fine