django_find.parsers.query module

class django_find.parsers.query.QueryParser(fields, default)[source]

Bases: django_find.parsers.parser.Parser

__init__(fields, default)[source]

Fields is a map that translates aliases to something like Book.author.

parse(query)[source]
parse_and(scopes, match)[source]
parse_boolean(scopes, dom_cls, match)[source]
parse_closebracket(scopes, match)[source]
parse_field(scopes, match)[source]
parse_not(scopes, match)[source]
parse_openbracket(scopes, match)[source]
parse_or(scopes, match)[source]
parse_whitespace(scopes, match)[source]
parse_word(scopes, match)[source]
django_find.parsers.query.close_scope(scopes)[source]
django_find.parsers.query.get_term_from_op(field, operator, value)[source]
django_find.parsers.query.op_from_word(word)[source]
django_find.parsers.query.open_scope(scopes, scope)[source]