1👍
✅
Try something like
from django.db.models import F
Project.objects.annotate(x=F('raised_amount') / F('total_amount')).filter(x__lt=0.2)
👤NS0
Source:stackexchange.com