how to make a call from database in django code example Example: django swlite queries >>> Entry.objects.filter(pub_date__lte='2006-01-01')