remove category from space serialization
This commit is contained in:
parent
23ebd57a8a
commit
47a2a713f6
1 changed files with 0 additions and 1 deletions
|
@ -65,7 +65,6 @@ class Space(SpecificLocation, LevelGeometryMixin, models.Model):
|
||||||
def _serialize(self, space=True, **kwargs):
|
def _serialize(self, space=True, **kwargs):
|
||||||
result = super()._serialize(**kwargs)
|
result = super()._serialize(**kwargs)
|
||||||
if space:
|
if space:
|
||||||
result['category'] = self.category
|
|
||||||
result['public'] = self.public
|
result['public'] = self.public
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue