djblets.recaptcha.templatetags.djblets_recaptcha¶
- recaptcha_js()[source]¶
Render the reCAPTCHA JavaScript tag.
- Returns
The rendered tag.
- Return type
django.utils.safestring.SafeText
- recaptcha_form_field(form)[source]¶
Return the reCAPTCHA field from the specified form.
This can be used to render the reCAPTCHA widget.
- Parameters
form (
django.forms.forms.Form
) – The form that is being rendered.- Returns
The bound reCAPTCHA field. This will render as its widget in a template.
- Return type
django.forms.boundfield.BoundField