2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

Remove unused setting page

This commit is contained in:
Oliver Walters
2020-10-20 08:32:00 +11:00
parent 226a91718b
commit 7aa473712f
4 changed files with 3 additions and 50 deletions

View File

@ -39,6 +39,9 @@ class CommonConfig(AppConfig):
instance = InvenTreeSetting.objects.get(key='InstanceName')
instance_name = instance.value
# Delete the legacy key
instance.delete()
# Create new value
InvenTreeSetting.objects.create(
key='INVENTREE_INSTANCE',