Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/q/u/qualitio-HEAD/qualitio/organizations/forms.py   qualitio(Download)
    def clean(self):
        name = self.cleaned_data.get('name')
        qs = models.Project.objects.filter(name=name, organization=self.organization)
        qs = qs.exclude(pk=self.instance.pk)
        if qs.exists():