Commit e49f20c5 authored by James Valleroy's avatar James Valleroy

backups: Select all apps by default

Signed-off-by: James Valleroy's avatarJames Valleroy <jvalleroy@mailbox.org>
parent 92e20df9
...@@ -48,6 +48,7 @@ class CreateArchiveForm(forms.Form): ...@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment