Jump to >

This documentation covers the in-development release of Djblets. You can see the latest stable docs or all previous versions.

djblets.recaptcha.widgets

class RecaptchaWidget(attrs=None)[source]

A widget for rendering the reCAPTCHA form field.

render(*args, **kwargs)[source]

Render the reCAPTCHA form field.

Parameters
  • *args (tuple) – Unused positional arguments.

  • **kwargs (dict) – Unused keyword arguments.

Returns

The rendered reCAPTCHA widget.

Return type

django.utils.safestring.SafeText