row sql django code example
Example 1: django get item by id
obj = Class.objects.get(pk=this_object_id)
Example 2: django swlite queries
>>> Entry.objects.filter(pub_date__lte='2006-01-01')
obj = Class.objects.get(pk=this_object_id)
>>> Entry.objects.filter(pub_date__lte='2006-01-01')