how to delete a djanog model database code example Example: delete model object django SomeModel.objects.filter(id=id).delete()