Remove unused setting page

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

No files matched your search

+3
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',