it's grid square, not grid cell (even though we don't have square cells)

This commit is contained in:
Laura Klünder 2018-12-10 19:39:32 +01:00
parent 8824026ce0
commit c666fd6db5
5 changed files with 33 additions and 33 deletions

View file

@ -130,8 +130,8 @@ class Space(LevelGeometryMixin, SpecificLocation, models.Model):
return result
@property
def grid_cell(self):
return grid.get_cells_for_bounds(self.geometry.bounds) or ''
def grid_square(self):
return grid.get_squares_for_bounds(self.geometry.bounds) or ''
def details_display(self, editor_url=True, **kwargs):
result = super().details_display(**kwargs)