From 2238352e45d43d9b7e532c231da479a8362b5b92 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 6 Mar 2020 14:08:29 -0800 Subject: [PATCH] networks: If topology wizard is skipped, skip router wizard too If the user chooses to skip the network topology wizard, then there is no need to show the router configuration wizard step. Skip it. We may want to skip other wizard step too. However, those can be dealt later. Signed-off-by: Sunil Mohan Adapa --- plinth/modules/networks/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plinth/modules/networks/views.py b/plinth/modules/networks/views.py index 6c66e01c8..ace417ada 100644 --- a/plinth/modules/networks/views.py +++ b/plinth/modules/networks/views.py @@ -448,6 +448,7 @@ class NetworkTopologyFirstBootView(NetworkTopologyView): """Mark the first wizard step as done, save value and redirect.""" first_boot.mark_step_done('network_topology_wizard') if 'skip' in form.data: + first_boot.mark_step_done('router_setup_wizard') return FormView.form_valid(self, form) return super().form_valid(form)