backups: Add option to select/deselect all apps for backup or restore

This is less tiresome for users and also improves the speed of functional tests.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati authored and James Valleroy committed 2019-07-13 06:37:39 -04:00
1 parent c84769d800
commit 061c308e35
5 files changed
+67 -9

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ logger = logging.getLogger(__name__)
def _get_app_choices(apps):
"""Return a list of check box multiple choices from list of apps."""
choices = []
choices = [('select_all', _("Include all apps"))]
for app in apps:
name = app.app.name
if not app.has_data: