commit | a28bcf9cb7646c24929d786806c5606ca523d531 | [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 | 92f30350435add9d56424272baf959608187b4be [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