fix editor url for level geometry mixin

This commit is contained in:
Laura Klünder 2019-12-25 11:09:38 +01:00
parent 90cd353b0a
commit 0adf48147f

View file

@ -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,