it's grid square, not grid cell (even though we don't have square cells)
This commit is contained in:
parent
8824026ce0
commit
c666fd6db5
5 changed files with 33 additions and 33 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue