mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
backups: Select all apps by default
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
parent
5cd1a1954c
commit
e72fb62008
@ -48,6 +48,7 @@ class CreateArchiveForm(forms.Form):
|
||||
apps = _list_of_all_apps_for_backup()
|
||||
self.fields['selected_apps'].choices = [
|
||||
(app[0], app[1].name) for app in apps]
|
||||
self.fields['selected_apps'].initial = [app[0] for app in apps]
|
||||
|
||||
|
||||
class ExportArchiveForm(forms.Form):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user