Commit ae4129f4 authored by Levy--Falk Hugo's avatar Levy--Falk Hugo Committed by root

Utilisation de reverse.

parent 2c3f1269
This diff is collapsed.
......@@ -351,7 +351,7 @@ def del_port(request, port_id):
impossible de le supprimer" % port)
return redirect(reverse(
'topologie:index-port',
kwargs={'switch_id':str(port.switch.id)
kwargs={'switch_id':str(port.switch.id)}
))
return form({'objet': port}, 'topologie/delete.html', request)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment