|
@@ -90,12 +90,6 @@ class ISP(db.Model):
|
|
|
self.json = {}
|
|
|
|
|
|
def pre_save(self, *args):
|
|
|
- if 'name' in self.json:
|
|
|
- assert self.name == self.json['name']
|
|
|
-
|
|
|
- if 'shortname' in self.json:
|
|
|
- assert self.shortname == self.json['shortname']
|
|
|
-
|
|
|
if db.inspect(self).attrs.json.history.has_changes():
|
|
|
self._sync_covered_areas()
|
|
|
|