示例#1
0
 def operation(self):
     return lazy_gettext('empty')
示例#2
0
 def operation(self):
     return lazy_gettext('greater than')
示例#3
0
 def operation(self):
     return lazy_gettext('smaller than')
示例#4
0
 def operation(self):
     return lazy_gettext('not equal')
示例#5
0
 def operation(self):
     return lazy_gettext('not contains')
示例#6
0
 def operation(self):
     return lazy_gettext('not between')
示例#7
0
 def operation(self):
     return lazy_gettext('equals')
示例#8
0
 def operation(self):
     return lazy_gettext('not in list')
示例#9
0
 def operation(self):
     return lazy_gettext("empty")
示例#10
0
 def operation(self):
     return lazy_gettext("contains")
示例#11
0
 def operation(self):
     return lazy_gettext("in list")
示例#12
0
 def __init__(self, name, options=None, data_type=None):
     super(BaseBooleanFilter, self).__init__(name,
                                             (('1', lazy_gettext(u'Yes')),
                                              ('0', lazy_gettext(u'No'))),
                                             data_type)