def clean_name(self):
        name = self.cleaned_data['name']
        if name.strip().lower() is get_config_value('BANNED_PROJECT_NAMES'):
            raise forms.ValidationError(_("This name is restricted"))
        if Project.objects\
                .filter(name=name, author=self.instance.author)\
                .exclude(pk=self.instance.pk).exists():
            msg = _("You have project with same name already")
            raise forms.ValidationError(msg)
        return name
dataset/ETHPy150Open lukaszb/django-projector/projector/forms.py/ProjectBaseForm.clean_name/operator `in` -> `is`