some renames of permitAllSlices->permit_all_slices had been missed
diff --git a/xos/core/models/network.py b/xos/core/models/network.py
index 3a1c1a7..ae70d2e 100644
--- a/xos/core/models/network.py
+++ b/xos/core/models/network.py
@@ -181,7 +181,7 @@
def save(self, *args, **kwds):
slice = self.slice
- if (slice not in self.network.permitted_slices.all()) and (slice != self.network.owner) and (not self.network.permitAllSlices):
+ if (slice not in self.network.permitted_slices.all()) and (slice != self.network.owner) and (not self.network.permit_all_slices):
# to add a sliver to the network, then one of the following must be true:
# 1) sliver's slice is in network's permittedSlices list,
# 2) sliver's slice is network's owner, or
@@ -215,7 +215,7 @@
def save(self, *args, **kwds):
slice = self.sliver.slice
- if (slice not in self.network.permitted_slices.all()) and (slice != self.network.owner) and (not self.network.permitAllSlices):
+ if (slice not in self.network.permitted_slices.all()) and (slice != self.network.owner) and (not self.network.permit_all_slices):
# to add a sliver to the network, then one of the following must be true:
# 1) sliver's slice is in network's permittedSlices list,
# 2) sliver's slice is network's owner, or