Forms and validation code for user registration.
FacebookRegistrationFormUniqueEmail(data=None, files=None, auto_id=u'id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None)¶
Some basic validation, adapted from django registration
Verifiy that the values entered into the two password fields match. Note that an error here will end up in
non_field_errors()because it doesn’t apply to a single field.
Validate that the supplied email address is unique for the site.
Validate that the username is alphanumeric and is not already in use.