django get sql form delete code example Example: delete model object django SomeModel.objects.filter(id=id).delete()