Sets the State(type=draft) to Replaced when a document is replaced using views_draft.replaces.
Sets the state back to Active or Expired when a document is no longer replaced by another document.
Adds tests for the above functionality.
Provides a patch to repair the state of documents pointed to by RelatedDocument(relationship__slug='replaces') objects created by views_draft.replaces before this fix.
Fixes bug 1234
- Legacy-Id: 7222
Note: SVN reference [7076] has been migrated to Git commit
|
||
---|---|---|
bin | ||
dajaxice | ||
django | ||
docutils | ||
etc | ||
form_utils | ||
html5lib | ||
ietf | ||
redesign | ||
south | ||
static | ||
test | ||
vzic | ||
.gitignore | ||
changelog | ||
changelog.py | ||
control | ||
debug.py | ||
INSTALL | ||
LICENSE | ||
LICENSE.django | ||
tzparse.py |