Skip to content

Raise error when model with empty pk field is passed #69

Open
@ffigiel

Description

@ffigiel

Automated tests in my project failed because it turned out that bulk_update wasn't creating the new model instances I had in the list. I think bulk_update should raise a ValueError saying that it can operate on existing rows only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions