1👍
✅
Just use exclude instead of filter 🙂
countries = Country.objects.exclude(country_desc='')
Source:stackexchange.com
1👍
Just use exclude instead of filter 🙂
countries = Country.objects.exclude(country_desc='')