mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
firstboot: network connections not used, cleanup
No longer showing network connections in firstboot. Removed dead code. Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
e83f387be1
commit
3e619d6882
@ -21,7 +21,6 @@ from django.utils.translation import ugettext as _
|
||||
from django.views.generic import TemplateView
|
||||
from django.views.generic.edit import FormView
|
||||
|
||||
from plinth import network
|
||||
from plinth.modules import first_boot
|
||||
|
||||
from .forms import FirstbootWizardSecretForm
|
||||
@ -62,7 +61,6 @@ class CompleteView(TemplateView):
|
||||
def get_context_data(self, **kwargs):
|
||||
"""Add network connections to context list."""
|
||||
context = super().get_context_data(**kwargs)
|
||||
context['connections'] = network.get_connection_list()
|
||||
context['title'] = _('Setup Complete')
|
||||
context['firstboot_complete'] = True
|
||||
return context
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user