I installed the latest django-moderation through pip and followed config instructions but I get this on syncdb:
$ ./manage.py syncdb
CommandError: One or more models did not validate:
moderation.moderatedobject: 'moderated_by' defines a relation with the model 'auth.User', which has been swapped out. Update the relation to point at settings.AUTH_USER_MODEL.
moderation.moderatedobject: 'changed_by' defines a relation with the model 'auth.User', which has been swapped out. Update the relation to point at settings.AUTH_USER_MODEL.
I was confused by this after seeing commit f8f0749b423f57e0158bcef77b1921032aceee44, implying that it should work with a custom user model.
Uninstalling the pip version and reinstalling from source solved the issue. I just wanted to point this out, so that the version can be bumped and future users won't run into this.
I installed the latest django-moderation through pip and followed config instructions but I get this on syncdb:
I was confused by this after seeing commit f8f0749b423f57e0158bcef77b1921032aceee44, implying that it should work with a custom user model.
Uninstalling the pip version and reinstalling from source solved the issue. I just wanted to point this out, so that the version can be bumped and future users won't run into this.