8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-28 01:43:46 +00:00

Fix #51 : reverse url.

This commit is contained in:
LEVY-FALK Hugo 2017-11-15 11:37:10 +01:00 committed by root
parent 8904cc148d
commit 5758523e12

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,