From 5f0d86f509ff02b3f9c14405bde1a15c8ecda9b1 Mon Sep 17 00:00:00 2001 From: Ross Lawley Date: Thu, 23 May 2013 19:12:13 +0000 Subject: [PATCH] Upgrade doc fix (#330) --- docs/upgrade.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/upgrade.rst b/docs/upgrade.rst index fe9e4fa9..6d9f5292 100644 --- a/docs/upgrade.rst +++ b/docs/upgrade.rst @@ -116,8 +116,8 @@ eg:: # Mark all ReferenceFields as dirty and save for p in Person.objects: - p._mark_as_dirty('parent') - p._mark_as_dirty('friends') + p._mark_as_changed('parent') + p._mark_as_changed('friends') p.save() `An example test migration for ReferenceFields is available on github @@ -145,7 +145,7 @@ eg:: # Mark all ReferenceFields as dirty and save for a in Animal.objects: - a._mark_as_dirty('uuid') + a._mark_as_changed('uuid') a.save() `An example test migration for UUIDFields is available on github @@ -174,7 +174,7 @@ eg:: # Mark all ReferenceFields as dirty and save for p in Person.objects: - p._mark_as_dirty('balance') + p._mark_as_changed('balance') p.save() .. note:: DecimalField's have also been improved with the addition of precision