parameters: (self)
return_statement: return self.cleaned_data['email']
docstring: Validate that the email is not already registered with another user
docstring_summary: Validate that the email is not already registered with another user
docstring_tokens: Validate that the email is not already registered with another user
function: def clean_email(self):
          """ Validate that the email is not already registered with another user """
          if User.objects.filter(email__iexact=self.cleaned_data['email']).exclude(email__iexact=self.user.email):
              raise django_forms.ValidationError(_(u'This email is already in use. Please supply a different email.'))
          return self.cleaned_data['email']
function_tokens: def clean_email ( self ) : if User . objects . filter ( email__iexact = self . cleaned_data [ 'email' ] ) . exclude ( email__iexact = self . user . email ) : raise django_forms . ValidationError ( _ ( u'This email is already in use. Please supply a different email.' ) ) return self . cleaned_data [ 'email' ]