fix editor url for level geometry mixin
This commit is contained in:
parent
90cd353b0a
commit
0adf48147f
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ class Report(models.Model):
|
||||||
if isinstance(location, LevelGeometryMixin):
|
if isinstance(location, LevelGeometryMixin):
|
||||||
return reverse(url_name, kwargs={
|
return reverse(url_name, kwargs={
|
||||||
'pk': location.pk,
|
'pk': location.pk,
|
||||||
'space': location.level.pk
|
'level': location.level.pk
|
||||||
})
|
})
|
||||||
return reverse(url_name, kwargs={
|
return reverse(url_name, kwargs={
|
||||||
'pk': location.pk,
|
'pk': location.pk,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue