ACCEPTED value in fixture doesn't match Accpted Value in Django Choice
In the fixture all the data are created with the status value ACCEPTED
that is not included in the Django model status field choices - there it is Accepted
.
Due to this, the django admin interface may display the ACCEPTED
value in the list, but once you open the edit page, the value that was chosen in the select list is Pending
.
Pending
is the first value of the choices that Django uses. It is selected as there is no choice for ACCEPTED
.
Once a user saves an entry with Accepted
the select list works as usual - but it has another value then the original ACCEPTED
that is used in the fixture.