model database quires django code example
Example 1: objects.filter django
>>> Entry.objects.filter(blog_id=4)
Example 2: django swlite queries
>>> Entry.objects.filter(pub_date__lte='2006-01-01')
>>> Entry.objects.filter(blog_id=4)
>>> Entry.objects.filter(pub_date__lte='2006-01-01')