1👍
✅
It has no format, it is simply a date
object, so you filter with:
def home(request):
context={
'fests': Fest.objects.filter(start_date__gte=date.today()).order_by('-start_date')[:3]
}
return render(request,'webpage/home.html',context)
Source:stackexchange.com