def clean_name(self):
        name = self.cleaned_data['name']
        disallowed = (
            'activate',
            'create',
            'disable',
            'login',
            'logout',
            'password',
            'profile',
        )
        if disallowed in name:
            raise ValidationError(
                "A user with that name"
                " already exists.")
        return name
dataset/ETHPy150Open jambonrose/DjangoUnleashed-1.8/user/forms.py/UserCreationForm.clean_name/swapped operands of `in`