• 
      

    Fix comparison to check for identical instances.

    Review Request #14385 — Created March 21, 2025 and submitted — Latest diff uploaded

    Information

    django-assert-queries
    main

    Reviewers

    The model proxies used for deleted object comparisons resulted in a
    regression where two references to the same instance weren't guaranteed
    to be considered equal.

    We now check that the two objects being compared are the same instance
    before going into more elaborate checks.

    Unit tests pass in django-assert-queries, Djblets, and Review Board.

    Commits

    Files