add __str__ to AreaOfInterest
This commit is contained in:
parent
ea0eb44fcb
commit
1f1b28dc99
1 changed files with 3 additions and 0 deletions
|
@ -80,3 +80,6 @@ class AreaOfInterest(GeometryMapItemWithLevel, MapItemOfInterestMixin):
|
|||
result['groups'] = sorted(self.groups.all().order_by('name').values_list('name', flat=True))
|
||||
result.move_to_end('geometry')
|
||||
return result
|
||||
|
||||
def __str__(self):
|
||||
return self.title
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue