Captcha¶
this package provides a fully functional captcha validation system the default setting are:
LOGIN_REQUIRE_CAPTCHA = True,
REGISTER_REQUIRE_CAPTCHA = True,
The Captcha is available to query via a base64 encoded string or via a static .png image.
Note: The Image is in PNG format
mutation MyMutation {
captcha {
uuid
pilImage
}
}
You will further be needed to implement a translation in the UI.
For the creation of a static set CAPTCHA_SAVE_IMAGE = True
on your settings. This will use django's Imagefield to store the captcha image. You will also be needed to include a path in your urlpatterns for development, as per the documentation.
mutation MyMutation {
captcha {
uuid
image{
width
height
url
}
}
}