2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-03 12:10:59 +00:00

Add settings for backups (#3806)

Fixes #3794
This commit is contained in:
Matthias Mair
2022-10-18 03:38:57 +02:00
committed by GitHub
parent 3bd64e9098
commit 3956a45c48
3 changed files with 13 additions and 2 deletions

View File

@ -886,6 +886,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
]
},
'INVENTREE_BACKUP_ENABLE': {
'name': _('Automatic Backup'),
'description': _('Enable automatic backup of database and media files'),
'validator': bool,
'default': True,
},
'BARCODE_ENABLE': {
'name': _('Barcode Support'),
'description': _('Enable barcode scanner support'),