

def clean(self):
    cleaned_data = self.cleaned_data
    title1 = cleaned_data.get('title1')
    title2 = self.get('title2')
    if (title1 != title2):
        raise forms.ValidationError('The two titles must be the same')
    return cleaned_data

dataset/ETHPy150Open django/django/tests/admin_inlines/admin.py TitleForm.clean/VarMisuse@27/39 `cleaned_data`->`self`