Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Deleted items appear in batch as 'None' #22

Closed
jroo opened this issue Feb 5, 2012 · 1 comment
Closed

Deleted items appear in batch as 'None' #22

jroo opened this issue Feb 5, 2012 · 1 comment
Labels
Milestone

Comments

@jroo
Copy link
Contributor

jroo commented Feb 5, 2012

perhaps use version attributes to populate title of item?

@jroo
Copy link
Contributor Author

jroo commented Feb 8, 2012

The unicode representation of a Version object in reversion is the object_repr() method, which returns None for versions of deleted objects. Potential solutions are to either tack on a new field has the value of object_repr when the version is not of a deleted object or the object_repr of the previous version if version is of a deleted object. This can be done in utils.changed_items or somewhere admin (or somewhere else entirely, i'm open)

rosskarchner pushed a commit that referenced this issue Feb 9, 2012
… replaces change for with read-only view of batch. Fixes #25 and #22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants