Example #1
0
 def operation(self):
     return lazy_gettext('empty')
Example #2
0
 def operation(self):
     return lazy_gettext('greater than')
Example #3
0
 def operation(self):
     return lazy_gettext('smaller than')
Example #4
0
 def operation(self):
     return lazy_gettext('not equal')
Example #5
0
 def operation(self):
     return lazy_gettext('not contains')
Example #6
0
 def operation(self):
     return lazy_gettext('not between')
Example #7
0
 def operation(self):
     return lazy_gettext('equals')
Example #8
0
 def operation(self):
     return lazy_gettext('not in list')
Example #9
0
 def operation(self):
     return lazy_gettext("empty")
Example #10
0
 def operation(self):
     return lazy_gettext("contains")
Example #11
0
 def operation(self):
     return lazy_gettext("in list")
Example #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)