Add a couple of extra verbs to base grid filter class
Seems like these could be more useful some day; for now they're used by a bespoke project.
This commit is contained in:
parent
a77f41debf
commit
65d1c24230
|
@ -128,9 +128,12 @@ class GridFilter(object):
|
|||
'is_false': "is false",
|
||||
'contains': "contains",
|
||||
'does_not_contain': "does not contain",
|
||||
'is_me': "is me",
|
||||
'is_not_me': "is not me",
|
||||
}
|
||||
|
||||
valueless_verbs = ['is_any', 'is_null', 'is_not_null', 'is_true', 'is_false']
|
||||
valueless_verbs = ['is_any', 'is_null', 'is_not_null', 'is_true', 'is_false',
|
||||
'is_me', 'is_not_me']
|
||||
|
||||
value_renderer_factory = DefaultValueRenderer
|
||||
|
||||
|
|
Loading…
Reference in a new issue