effective_label_settings
This commit is contained in:
parent
d254f199e3
commit
16bf017740
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class Location(LocationSlug, AccessRestrictionMixin, TitledMixin, models.Model):
|
||||||
result = super().serialize(detailed=detailed, **kwargs)
|
result = super().serialize(detailed=detailed, **kwargs)
|
||||||
if not detailed:
|
if not detailed:
|
||||||
fields = ('id', 'type', 'slug', 'title', 'subtitle', 'icon', 'point', 'bounds', 'grid_square',
|
fields = ('id', 'type', 'slug', 'title', 'subtitle', 'icon', 'point', 'bounds', 'grid_square',
|
||||||
'locations', 'on_top_of', 'label_settings', 'label_override', 'add_search', 'dynamic',
|
'locations', 'on_top_of', 'effective_label_settings', 'label_override', 'add_search', 'dynamic',
|
||||||
'locationtype', 'geometry')
|
'locationtype', 'geometry')
|
||||||
result = {name: result[name] for name in fields if name in result}
|
result = {name: result[name] for name in fields if name in result}
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue