Skip to content

TriggerVersionField triggers RemovedInDjango60Warning: Passing positional arguments to save() is deprecated #256

Open
@wutje

Description

@wutje

In _wrap_save from TriggerVersionField the arguments force_insert, force_update and using are passed to save() as positional arguments.
Causing the warning to trigger.

IMHO there are two options:

  1. Drop them and just pass them on via kwargs. This breaks for users passing them in as positional arguments. Does anyone actually do this?
  2. Use *args (and later drop them when Django Concurrency only supports Django 6 or later), in case anyone is passing in positional arguments.

Any opinions or perhaps another solution?

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