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