human
Django filter JSONField list of dicts
assistant
Here is some code to filter a json from a key-value pair as `{'fixed_key_1': 'foo2'}` in Django

Test.objects.filter(actions__contains=[{'fixed_key_1': 'foo2'}])

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.