[Fixed]-Set Django RawQuerySet to do not defer attributes

1👍

You could try fetching null for any fields that you do not want to be retrieved, for example:

Person.objects.raw('SELECT id, name, null AS gender from authors') 

Leave a comment