From 504ac0d9b3eef083ec385f4e7de9cfb96386f676 Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Wed, 15 Nov 2017 11:37:10 +0100 Subject: [PATCH] Fix #51 : reverse url. --- topologie/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topologie/views.py b/topologie/views.py index 9b1ed678..b1b98d02 100644 --- a/topologie/views.py +++ b/topologie/views.py @@ -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,