def clean_email(self):
        if RegistrationProfile.objects(
            email__iexact=self.cleaned_data['email']):
            raise forms.ValidationError(
                _(u'This email address is already in use. '
                    u'Please supply a different email address.'))
        return self.cleaned_data['email']
Validate that the supplied email address is unique for the
dataset/ETHPy150Open lig/django-registration-me/registration/forms.py/RegistrationFormUniqueEmail.clean_email