dominno / django-moderation

django-moderation is reusable application for Django framework, that allows to moderate any model objects.
BSD 3-Clause "New" or "Revised" License
269 stars 91 forks source link

Post moderation signal should send the updated instance. #89

Closed sahilgupta closed 10 years ago

sahilgupta commented 10 years ago

Since the pre_moderation signal was accessing the self.content_obect.__class__, the object got populated from DB and was not getting fetched again after moderation, for the post_moderation signal. This was leading the post_moderation signal sending the pre-moderation state of the content object.

This fixes Issue #88

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.14%) when pulling 8e3a8af96d6d992a8c830d17f64d53c773579920 on sahilgupta:fix_moderation_signal into b357fec29011c7c973a9f75722caef219e5d817f on dominno:master.