Closed rocchidavide closed 11 years ago
You dont have to use signals for this. is_visible will be changed automatically.
All you have to do is set visibility_column in moderator class
https://github.com/dominno/django-moderation#genericmoderator-options
In my model I have a is_visible bool field, set False by default. I want to set it True when the object is approved and set to False if rejected, so I thought to use signals.
The problem is that in admin moderation objects list, moderation status keeps to be pending, as if it doesn't saved; is_visible field is updated well.
Do I something wrong in the saving process?
EDIT
I noted that if I mark object as Rejected, moderation status is 'rejected'; if I mark it as Pending or Approved, moderation status is always 'pending'.. I am a bit confused. Thank you