From 5758523e121eaddc75c74743b8192482a2432f06 Mon Sep 17 00:00:00 2001 From: LEVY-FALK Hugo 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,