only use locations for describing with can_describe=True
This commit is contained in:
parent
c9dafa7942
commit
1f4c22e113
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ class AreaLocation(LocationModelMixin, GeometryMapItemWithLevel):
|
|||
items = []
|
||||
if with_type:
|
||||
items += [self.get_location_type_display()]
|
||||
items += [area.title for area in self.get_in_areas()]
|
||||
items += [area.title for area in self.get_in_areas() if area.can_describe]
|
||||
return ', '.join(items)
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue