• 
      

    Fix passing force_insert parameter to Model.save()

    Review Request #14839 — Created Feb. 19, 2026 and submitted — Latest diff uploaded

    Information

    Review Board
    master

    Reviewers

    The BaseComment tests had a test case that was passing the
    force_insert parameter to the model's save() method as a positional
    argument, with a value of None. Django has changed this to deprecated
    positional arguments entirely for this method, and also now raise a
    TypeError if it's not passed as a bool. This change updates our test
    to remove that parameter.

    Ran unit tests.

    Commits

    Files