[Fixed]-Annotate query set with field value

22👍

You can use the F() expression here

from django.db.models import F    
item = Item.objects.all().annotate(text=F('description__klingon'))

Source

Leave a comment