(self)
return cd
Validate fields to make sure everything's as expected.
    - postalcode is in right format and actually exists
    - service actually exists
Validate fields to make sure everything's as expected.
    - postalcode is in right format and actually exists
    - service actually exists
Validate fields to make sure everything s as expected . - postalcode is in right format and actually exists - service actually exists
def clean(self):
    """
    Validate fields to make sure everything's as expected.
    - postalcode is in right format and actually exists
    - service actually exists
    """
    cd = self.cleaned_data

    if 'password' in cd and 'password_verify' in cd:
      if self.cleaned_data['password'] != self.cleaned_data['password_verify']:
        self._errors['password'] = forms.util.ErrorList(["Passwords don't match!"])

    else:
      self._errors['password'] = forms.util.ErrorList(["Please enter and confirm your password"])

#      raise forms.ValidationError(_(u'Please enter and confirm your password'))


    return cd
def clean ( self ) : cd = self . cleaned_data if 'password' in cd and 'password_verify' in cd : if self . cleaned_data [ 'password' ] != self . cleaned_data [ 'password_verify' ] : self . _errors [ 'password' ] = forms . util . ErrorList ( [ "Passwords don't match!" ] ) else : self . _errors [ 'password' ] = forms . util . ErrorList ( [ "Please enter and confirm your password" ] ) #      raise forms.ValidationError(_(u'Please enter and confirm your password')) return cd