how to slelec things from databse suiing sql code in djnaog code example Example: django swlite queries >>> Entry.objects.filter(pub_date__lte='2006-01-01')