Skip to content

How do I use recaptcha v3? #314

Answered by Stormheg
bluebamus asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bluebamus, you don't have to write any validation logic for the token. You only have to call is_valid() or full_clean() on your form, Django Recaptcha will do the heavy lifting for you!

Upon form submission, Django Recaptcha will look at the the token/field value and use it to check if your form was submitted by a bot. If it is a bot, a validation error will be raised for your ReCaptchaField.

Hope this answers your question. Let me know!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thibaudcolas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants