1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-03-21 02:22:02 +01:00

[not tested] Added a boolean field

This commit is contained in:
Yann 2015-09-17 15:52:50 +02:00
commit 3801148387

View file

@ -0,0 +1,12 @@
#-*- coding: utf-8 -*-
from EditorialModel.fields import EmField
class EmFieldBool(EmField):
ftype = 'bool'
## @brief A char field
# @brief max_length int : The maximum length of this field
def __init__(self, **kwargs):
super(EmFieldChar, self).__init__(**kwargs)