Python wtforms.fields.BooleanField() Examples

The following are 10 code examples of wtforms.fields.BooleanField(). 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 wtforms.fields , or try the search function .
Example #1
Source File: orm.py    From jbox with MIT License 5 votes vote down vote up
def conv_Boolean(self, field_args, **extra):
        return f.BooleanField(**field_args) 
Example #2
Source File: ndb.py    From jbox with MIT License 5 votes vote down vote up
def convert_BooleanProperty(self, model, prop, kwargs):
        """Returns a form field for a ``ndb.BooleanProperty``."""
        return f.BooleanField(**kwargs) 
Example #3
Source File: db.py    From jbox with MIT License 5 votes vote down vote up
def convert_BooleanProperty(model, prop, kwargs):
    """Returns a form field for a ``db.BooleanProperty``."""
    return f.BooleanField(**kwargs) 
Example #4
Source File: orm.py    From RSSNewsGAE with Apache License 2.0 5 votes vote down vote up
def conv_Boolean(self, field_args, **extra):
        return f.BooleanField(**field_args) 
Example #5
Source File: ndb.py    From RSSNewsGAE with Apache License 2.0 5 votes vote down vote up
def convert_BooleanProperty(self, model, prop, kwargs):
        """Returns a form field for a ``ndb.BooleanProperty``."""
        return f.BooleanField(**kwargs) 
Example #6
Source File: db.py    From RSSNewsGAE with Apache License 2.0 5 votes vote down vote up
def convert_BooleanProperty(model, prop, kwargs):
    """Returns a form field for a ``db.BooleanProperty``."""
    return f.BooleanField(**kwargs) 
Example #7
Source File: fields.py    From udata with GNU Affero General Public License v3.0 5 votes vote down vote up
def __init__(self, *args, **kwargs):
        self.stacked = kwargs.pop('stacked', False)
        super(BooleanField, self).__init__(*args, **kwargs) 
Example #8
Source File: orm.py    From googleapps-message-recall with Apache License 2.0 5 votes vote down vote up
def conv_Boolean(self, field_args, **extra):
        return f.BooleanField(**field_args) 
Example #9
Source File: ndb.py    From googleapps-message-recall with Apache License 2.0 5 votes vote down vote up
def convert_BooleanProperty(self, model, prop, kwargs):
        """Returns a form field for a ``ndb.BooleanProperty``."""
        return f.BooleanField(**kwargs) 
Example #10
Source File: db.py    From googleapps-message-recall with Apache License 2.0 5 votes vote down vote up
def convert_BooleanProperty(model, prop, kwargs):
    """Returns a form field for a ``db.BooleanProperty``."""
    return f.BooleanField(**kwargs)