django-rest-hooks
django-rest-hooks copied to clipboard
Fire hook on specific FIELD/s changed rather than any field
I´ll start by asking. Is it possible? I couldn't´t found a way to do that. I´ll explain what:
I have a model, say A
with fields a
, b
, c
. An instance of this model will be modified at some point. I would like to be able to set up a hook so it is only fired when field a
or b
are modified.
Is it possible to accomplish using current version? if not, it would be a good enhancement.
Greetings, and keep up the good work.
@armando-herastang You would have to override the hook delivery method to add this logic. So currently library in its current form does not have this.