fix obj_still_exists
@@ -118,7 +118,7 @@ def group_changes(changeset, can_edit=False, show_history=False):
obj_desc = _('%s (created)') % obj_desc
obj_still_exists = int(pk[1:]) in changeset.created_objects[obj.__class__]
else:
- obj_still_exists = pk not in changeset.deleted_existing[obj.__class__]
+ obj_still_exists = pk not in changeset.deleted_existing.get(obj.__class__, ())
edit_url = None
if obj_still_exists and can_edit:
