some hotfixing so locations reports refer to can be deleted
This commit is contained in:
parent
407e3ba06b
commit
dddd88d2cc
2 changed files with 3 additions and 1 deletions
|
@ -70,6 +70,8 @@ class Report(models.Model):
|
|||
|
||||
@cached_property
|
||||
def location_specific(self):
|
||||
if self.location is None:
|
||||
return None
|
||||
return self.location.get_child()
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue