Add comments display to versioning history (because why not).

Maybe in future we could have a box people can type in before they save changes to an event... But that's a separate project
This commit is contained in:
David Taylor
2016-04-05 11:50:34 +01:00
parent 33ce4b622d
commit ca6cddb392
4 changed files with 11 additions and 1 deletions

View File

@@ -62,7 +62,8 @@ class AssociateAdmin(reversion.VersionAdmin):
for event in events:
masterObject.event_set.add(event)
obj.delete()
reversion.set_comment('Merging Objects')
self.message_user(request, "Objects successfully merged.")
return
else: # Present the confirmation screen