Jump to >

reviewboard.accounts.forms.registration

class RegistrationForm(*args, **kwargs)[source]

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.

save()[source]

Save the form.

property verify_recaptcha[source]

Whether or not the reCAPTCHA is to be verified.

Returns

bool Whether or not the reCAPTCHA is to be verified.