def changes(self):
        details = dict([(k, (self.initial[k], self.cleaned_data[k]))
                        for k in self.changed_fields()])
        if 'password' in self.changed_data:
            details['password'] = ['****', '****']
        return details
A dictionary of changed fields, old, new. Hides password.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/users/forms.py/BaseAdminUserEditForm.changes