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

Fix the `changed_by` property not set #91

Closed dulacp closed 10 years ago

dulacp commented 10 years ago

The changed_by property is not set on staff admin saving. First I've added a failing test (I've added the django-webtest dev dependency for more convenience on supporting form post in tests).

I'm working now on a fix.

Cheers

dominno commented 10 years ago

Hi @dulaccc

Please fix the PEP8 rules and squash all commits in to one.

$ pep8 --exclude=migrations --ignore=W291 moderation tests tests/tests/unit/admin.py:65:13: E128 continuation line under-indented for visual indent

dulacp commented 10 years ago

Just been fixed 2 seconds ago :)