reviewboard.accounts.forms.registration¶
- class RegistrationForm(*args, **kwargs)[source]¶
Bases:
RecaptchaFormMixin
,PolicyConsentFormMixin
,RegistrationForm
A registration form with reCAPTCHA support.
This is a version of the Djblets RegistrationForm which knows how to validate a reCAPTCHA widget. Any error received is stored in the form for use when generating the widget so that the widget can properly display the error.
- property verify_recaptcha[source]¶
Whether or not the reCAPTCHA is to be verified.
- Returns:
bool Whether or not the reCAPTCHA is to be verified.
- declared_fields = {'email': <django.forms.fields.EmailField object>, 'first_name': <django.forms.fields.CharField object>, 'last_name': <django.forms.fields.CharField object>, 'password1': <django.forms.fields.CharField object>, 'password2': <django.forms.fields.CharField object>, 'username': <django.forms.fields.RegexField object>}¶