Fixes #8. Fix for recursion when save object in a hook on MySQL.
Upgrade pytest-django to support testing on recent Django versions.