Use update_fields more consistently when modifying model objects.

(imported from commit a3f0c308b621b5ff85c55654f187e25749192b19)
This commit is contained in:
Tim Abbott
2013-07-23 16:01:38 -04:00
parent f800e6cebb
commit 4e1434b28d
8 changed files with 16 additions and 17 deletions

View File

@@ -36,7 +36,7 @@ def restore(change):
continue
if change:
u.pointer = pointer
u.save()
u.save(update_fields=["pointer"])
class Command(BaseCommand):
option_list = BaseCommand.option_list + (