mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-28 10:34:34 +00:00
Remove unused setting page
This commit is contained in:
1 parent
226a91718b
commit
7aa473712f
4 files changed
+3
-50
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user