add __str__ to AreaOfInterest

This commit is contained in:
Laura Klünder 2016-12-13 20:52:46 +01:00
parent ea0eb44fcb
commit 1f1b28dc99

View file

@ -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