Python flask_wtf.RecaptchaField() Examples

The following are 1 code examples of flask_wtf.RecaptchaField(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module flask_wtf , or try the search function .
Example #1
Source File: hooks.py    From realms-wiki with GNU General Public License v2.0 5 votes vote down vote up
def before_first_request():
    if current_app.config['RECAPTCHA_ENABLE']:
        setattr(RegistrationForm, 'recaptcha', RecaptchaField("You Human?"))