def commit(self, obj, user):
        approve_it = 'approve_it' in self.data

        commit = super(ReviewedCommitForm, self).commit(obj, user)

        if approve_it:
            commit.reviewedversioncommit.approve(user)
dataset/ETHPy150Open fusionbox/django-widgy/widgy/contrib/review_queue/forms.py/ReviewedCommitForm.commit/original