all mapdata models use new_serialize now
This commit is contained in:
parent
40f19afc28
commit
05890de06a
7 changed files with 4 additions and 110 deletions
|
@ -52,12 +52,6 @@ class LevelGeometryMixin(GeometryMixin):
|
|||
result['opacity'] = self.opacity
|
||||
return result
|
||||
|
||||
def _serialize(self, level=True, **kwargs):
|
||||
result = super()._serialize(**kwargs)
|
||||
if level:
|
||||
result['level'] = self.level_id
|
||||
return result
|
||||
|
||||
def details_display(self, **kwargs):
|
||||
result = super().details_display(**kwargs)
|
||||
result['display'].insert(3, (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue