def clean_email(self):
        email = self.cleaned_data.get("email")
        if not (User.objects.filter(email=email) or EmailValidation.objects.filter(email=email)):
            return email

        raise forms.ValidationError(_("That e-mail is already used."))
Import a single file from the filesystem into the assetstore.
dataset/ETHPy150Open tualatrix/django-profile/userprofile/forms.py/EmailValidationForm.clean_email--crossover with--dataset/ETHPy150Open girder/girder/girder/utility/filesystem_assetstore_adapter.py/FilesystemAssetstoreAdapter.importFile