8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +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:
chirac 2017-11-15 15:06:22 +01:00
commit 3e50b02b8a

View file

@ -583,7 +583,7 @@ def edit_switch(request, switch_id):
field for field in switch_form.changed_data) field for field in switch_form.changed_data)
) )
messages.success(request, "Le switch a bien été modifié") 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 ) i_mbf_param = generate_ipv4_mbf_param( interface_form, False )
return form({ return form({
'topoform': switch_form, 'topoform': switch_form,