(field)
return _date_consumer
date.{lt, lte, gt, gte}=<ISO DATE>
date.{lt, lte, gt, gte}=<ISO DATE>
date . { lt lte gt gte } = <ISO DATE >
def _get_date_filter_consumer(field):
    """date.{lt, lte, gt, gte}=<ISO DATE>"""
    date_filter = make_date_filter(functools.partial(django_date_filter, field_name=field))

    def _date_consumer(key, value):
        if '.' in key and key.split(".")[0] == field:
            prefix, qualifier = key.split(".", maxsplit=1)
            try:
                return date_filter(qualifier, value)
            except ValueError as e:
                raise InvalidFilterError(str(e))

        return {}

    return _date_consumer
def _get_date_filter_consumer ( field ) : date_filter = make_date_filter ( functools . partial ( django_date_filter , field_name = field ) ) def _date_consumer ( key , value ) : if '.' in key and key . split ( "." ) [ 0 ] == field : prefix , qualifier = key . split ( "." , maxsplit = 1 ) try : return date_filter ( qualifier , value ) except ValueError as e : raise InvalidFilterError ( str ( e ) ) return { } return _date_consumer