django orm save to db code example
Example 1: django delete object
SomeModel.objects.filter(id=id).delete()
Example 2: objects.filter django
>>> Entry.objects.filter(blog_id=4)
SomeModel.objects.filter(id=id).delete()
>>> Entry.objects.filter(blog_id=4)