ValueError: 'User' instance needs to have a primary key value before this relationship can be used.
(11 additional frame(s) were not displayed)
...
File "onadata/libs/utils/validators.py", line 19, in validate
pw_history = user.password_history.all()[:self.history_limit]
Sentry Issue: ONADATA-4P2