commit | e04995525210ba5682cd7398076e1e2a9b92f4db | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Fri May 18 12:07:53 2018 -0700 |
committer | Scott Baker <scottb@onlab.us> | Fri May 18 20:28:28 2018 +0000 |
tree | 566ab64b7a01e0604a66e7bd0cdb16c4714f8e52 | |
parent | 03e8f60b74ed74c848c79d5de3fe9b59d5241cc2 [diff] |
CORD-3049 support always_update_timestamp in mock modelaccessor Change-Id: I41feea6952a0fa5f8b5d55ec7bde8757750cd462
diff --git a/lib/xos-genx/xosgenx/targets/mock_classes.xtarget b/lib/xos-genx/xosgenx/targets/mock_classes.xtarget index b59a7e5..b6bb988 100644 --- a/lib/xos-genx/xosgenx/targets/mock_classes.xtarget +++ b/lib/xos-genx/xosgenx/targets/mock_classes.xtarget
@@ -95,7 +95,7 @@ def leaf_model(self): return self - def save(self, update_fields=[]): + def save(self, update_fields=[], always_update_timestamp=False): if self.objects: self.objects.save(self)