Code review comment for lp:~mwhudson/lava-scheduler/job-signals

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Unfortunately, it turns out to be a bit more complicated: all the queries need to be changed if _status is the name of the field.

I think some approach of saving the initial value in __init__ and firing the signal in save() if it has changed might work better. Will try that later/tomorrow.

« Back to merge proposal