No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bool.py 350B

12345678910111213141516
  1. #-*- coding: utf-8 -*-
  2. from EditorialModel.fields import EmField
  3. class EmFieldBool(EmField):
  4. ftype = 'bool'
  5. help = 'A basic boolean field'
  6. ## @brief A char field
  7. # @brief max_length int : The maximum length of this field
  8. def __init__(self, **kwargs):
  9. super(EmFieldBool, self).__init__(**kwargs)
  10. fclass = EmFieldBool