how to use django filter to delete objects code example Example: django delete object SomeModel.objects.filter(id=id).delete()