We could update this to split on __ and match that to a different filter function, ala the way Django can filter attribute__icontains. ex: ``` filter_functions = { None: lambda x: getattr(x, k) == kwargs[k], 'icontains': lambda x: kwargs[k].lower() in getattr(x, k), 'contains': lambda x: kwargs[k] in getattr(x, k), # ...etc } ``` Then you just kwargs[k].split('__') and grab the correct lambda for the filter function. Probably not THAT useful, but a fun idea.
We could update this to split on __ and match that to a different filter function, ala the way Django can filter attribute__icontains.
ex:
Then you just kwargs[k].split('__') and grab the correct lambda for the filter function.
Probably not THAT useful, but a fun idea.