fix section selector when editing a space
This commit is contained in:
parent
d005a6a78b
commit
47a0170d1c
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ def edit(request, pk=None, model=None, section=None, space=None, explicit_edit=F
|
|||
})
|
||||
elif model == Space and not new:
|
||||
ctx.update({
|
||||
'section': obj,
|
||||
'section': obj.section,
|
||||
'back_url': reverse('editor.spaces.detail', kwargs={'section': obj.section.pk, 'pk': pk}),
|
||||
'geometry_url': '/api/editor/geometries/?space='+pk,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue