packageio: fix missing titles on AreaOfInterest objects
This commit is contained in:
parent
353535179f
commit
85107978cb
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class MapItemOfInterestMixin:
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
class GroupOfInterest(MapItem, MapItemOfInterestMixin):
|
class GroupOfInterest(MapItemOfInterestMixin, MapItem):
|
||||||
titles = JSONField()
|
titles = JSONField()
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
@ -48,7 +48,7 @@ class GroupOfInterest(MapItem, MapItemOfInterestMixin):
|
||||||
default_related_name = 'groupsofinterest'
|
default_related_name = 'groupsofinterest'
|
||||||
|
|
||||||
|
|
||||||
class AreaOfInterest(GeometryMapItemWithLevel, MapItemOfInterestMixin):
|
class AreaOfInterest(MapItemOfInterestMixin, GeometryMapItemWithLevel):
|
||||||
titles = JSONField()
|
titles = JSONField()
|
||||||
groups = models.ManyToManyField(GroupOfInterest, verbose_name=_('Groups of Interest'), blank=True)
|
groups = models.ManyToManyField(GroupOfInterest, verbose_name=_('Groups of Interest'), blank=True)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue