correct back button in editor edit
This commit is contained in:
parent
32c075301d
commit
96f4f97a7f
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ def edit(request, pk=None, model=None):
|
|||
elif hasattr(obj, 'section'):
|
||||
ctx.update({
|
||||
'section': obj.section,
|
||||
'back_url': reverse('editor.space', kwargs={'pk': pk}),
|
||||
'back_url': reverse('editor.section', kwargs={'pk': obj.section.pk}),
|
||||
})
|
||||
elif hasattr(obj, 'space'):
|
||||
ctx.update({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue