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

Hi, I'm new to github and hope this is the way it is intended to be used, as this is a realy small fix. #69

Closed cornelius-keller closed 12 years ago

cornelius-keller commented 12 years ago

Passing None as proper fields_exclude, as self.moderator.fields_exclude is the default anyway. Fixes Problems with fields that change in the database witout user interaction like timestamps etc.

I started to use django moderation yesterday and noticed that my objects appeard in the site altough they have not been moderated. The reason was a timestamp field in the database, wich seem to change after the change_object was serialized. Excluding the field did not work, so I started debugging and finally found your todo and fixed it. The unit tests are still passing.