My model has a json field. I can access jsonfield[\'key1\'] with the following query
from django.contrib.postgres.fields.jsonb import KeyTextTransform MyModel.obj