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

Django 1.4 Compatibility #66

Closed mlavin closed 12 years ago

mlavin commented 12 years ago

This is an alternate to @CBWhiz's pull request to add Django 1.4 compatibility. This does not add additional features and only updates the admin filtering and test cases to pass on Django 1.4. Beyond the broken imports due to the new filtering API in Django 1.4 the test cases were failing due to the removal of the old user.messages_set API in favor for django.contrib.messages added in Django 1.2. A couple notes on these changes:

Thanks to @CBWhiz for a solid reference for making these changes. Let me know what improvements could be made to have this merged.