commit | 367d5d6196c3c21e2d1353b258801e6d5e14e602 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Tue Nov 03 13:51:04 2015 -0500 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Tue Nov 03 13:51:04 2015 -0500 |
tree | b1e5475beb0c90b24e279ae66f014204e563ca0d | |
parent | fbfc18c70f285656776a86fb38298c9fa63dfe5d [diff] |
Make Node syncs a noop
diff --git a/xos/core/models/node.py b/xos/core/models/node.py index ec67975..5496d6b 100644 --- a/xos/core/models/node.py +++ b/xos/core/models/node.py
@@ -16,6 +16,10 @@ def __unicode__(self): return u'%s' % (self.name) + def __init__(self, *args, **kwargs): + super(Node, self).__init__(*args, **kwargs) + self.no_sync=True + def save(self, *args, **kwds): if self.site is None and self.site_deployment is not None: self.site = self.site_deployment.site