Skip to content

Reverse test show incorrect field  #34

@LegoStormtroopr

Description

@LegoStormtroopr

I was doing some tests/upgrades for django 1.8 while trying to fix #33 and noticed a bug only under Django 1.7.
The list of changes for reverse fields incorrectly includes a "deletion" for the item that was added in.

Under Django 1.7:

   [DEL: - motor-car four from factory one supplier(s): :DEL] ^*
   [DEL: - motor-car three from factory one supplier(s): :DEL] → Deleted
   [INS: + motor-car four from factory one supplier(s): :INS]
   motor-car one from factory one supplier(s):

Edit comment:

     version 2: discontinued car-three, add car-four

Compared to the correct result under Django 1.8:

   [DEL: - motor-car three from factory one supplier(s): :DEL] → Deleted
   [INS: + motor-car four from factory one supplier(s): :INS]
   motor-car one from factory one supplier(s):

Edit comment:

     version 2: discontinued car-three, add car-four

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