Jump to >

reviewboard.accounts.forms.registration

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

Bases: djblets.recaptcha.mixins.RecaptchaFormMixin, reviewboard.accounts.mixins.PolicyConsentFormMixin, djblets.auth.forms.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.

save()[source]

Save the form.

verify_recaptcha[source]