add support for ?field__isnull=1

pull/107/head
Ray N 2017-11-15 23:33:36 +00:00
rodzic f45ca30f91
commit cdaa111e28
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -46,6 +46,7 @@ def build_where_clauses(args):
'lte': '"{}" <= :{}',
'glob': '"{}" glob :{}',
'like': '"{}" like :{}',
'isnull': '"{}" is null',
}[lookup]
numeric_operators = {'gt', 'gte', 'lt', 'lte'}
value_convert = {