From b68bf9b0b8f1feaeddb5d15d22e40678a2614a8e Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Mon, 2 Jul 2012 18:10:41 +0000 Subject: [PATCH] Fix comment - Legacy-Id: 4561 --- ietf/utils/history.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ietf/utils/history.py b/ietf/utils/history.py index a89ed2182..24f72e55a 100644 --- a/ietf/utils/history.py +++ b/ietf/utils/history.py @@ -24,9 +24,9 @@ def find_history_active_at(obj, time): def get_history_object_for(obj): """Construct history object for obj, i.e. instantiate history - object, copy relevant attributes and set a link to obj, but done + object, copy relevant attributes and set a link to obj, but don't save. Any customizations can be done by the caller afterwards. - Many-to-many fields are not copied. + Many-to-many fields are not copied (impossible without save). The history model must use related_name="history_set" for the foreign key connecting to the live model for this function to be