8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-25 00:13:45 +00:00

Merge branch 'fix_reverse_url' into 'master'

Fix #51 : reverse url.

Closes #51

See merge request federez/re2o!36
This commit is contained in:
Gabriel Detraz 2017-11-15 15:06:22 +01:00
commit bbda15e202

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,