mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +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()
|
apps = _list_of_all_apps_for_backup()
|
||||||
self.fields['selected_apps'].choices = [
|
self.fields['selected_apps'].choices = [
|
||||||
(app[0], app[1].name) for app in apps]
|
(app[0], app[1].name) for app in apps]
|
||||||
|
self.fields['selected_apps'].initial = [app[0] for app in apps]
|
||||||
|
|
||||||
|
|
||||||
class ExportArchiveForm(forms.Form):
|
class ExportArchiveForm(forms.Form):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user