1👍
In you example querydata
is json. You can convert json to dict like this:
import json
from django.core import serializers
querydata = serializers.serialize("json",query)
querydata = json.loads(querydata). # This is Python dictionary
Source:stackexchange.com