8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 19:33:11 +00:00

Fix #51 : reverse url.

This commit is contained in:
Hugo LEVY-FALK 2017-11-15 11:37:10 +01:00
parent b32ac01718
commit 504ac0d9b3

View file

@ -583,7 +583,7 @@ def edit_switch(request, switch_id):
field for field in switch_form.changed_data)
)
messages.success(request, "Le switch a bien été modifié")
return redirect(reverse('topologie'))
return redirect(reverse('topologie:index'))
i_mbf_param = generate_ipv4_mbf_param( interface_form, False )
return form({
'topoform': switch_form,