2👍
✅
Deliver keyword arguments by unpacking the dictionary:
instance = model_class.objects.filter(**data)
where keys in data
dictionary are model_class
field names.
Source:stackexchange.com