diff --git a/app/network/views.py b/app/network/views.py index e026624f8f3e012207b2be6d4adbb4ac599acb0b..b63844979affca2a79d4520f62303080986c6204 100644 --- a/app/network/views.py +++ b/app/network/views.py @@ -75,7 +75,7 @@ def create_host(): tasks.trigger_core_services_update() # Save network_id to the session to retrieve it after the redirect session['network_id'] = network_id - return redirect(url_for('network.create_host')) + return redirect(url_for('network.view_host', name=host.name)) return render_template('network/create_host.html', form=form)