3👍
I found a solution for this
from django.db.models import F
Entry.objects.filter(price=F('paid'))
- [Django]-Why am I getting this Django custom command error: 'datetime.timezone' has no attribute 'now'
- [Django]-Why django checks whether settings.DATABASE_NAME db actually exists for running testcases?
- [Django]-Django Shortcut nested foreign key
- [Django]-Is it ok to use Django Template Tag inside JS script
- [Django]-SSL error while running syncdb on Django with PostgreSQL
Source:stackexchange.com