Right now we have the target vetting happening in two places: in the target_post_save hook (runs when a target is created) and in the TargetVettingView (runs when the Vet button is pushed). These should be essentially the same, but they keep getting out of sync. I moved all the code to hooks.py and called the target_post_save hook in the TargetVettingView.
Right now we have the target vetting happening in two places: in the
target_post_save
hook (runs when a target is created) and in theTargetVettingView
(runs when the Vet button is pushed). These should be essentially the same, but they keep getting out of sync. I moved all the code tohooks.py
and called thetarget_post_save
hook in theTargetVettingView
.This also fixes #42.