def save(self):
        password1 = self.cleaned_data['new_password']
        self.user.set_password(password1)
        return self.user.save()
created_by should be set to the currently authenticated user.
dataset/ETHPy150Open treeio/treeio/treeio/account/forms.py/AccountPasswordForm.save--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/groups/tests/test_views.py/GroupCreateViewTest.test_created_by_is_current_user