2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 21:15:41 +00:00

javascript for editing settings via API

This commit is contained in:
Oliver
2021-11-09 21:16:37 +11:00
parent 324335a620
commit 5df4374607
3 changed files with 78 additions and 14 deletions

View File

@ -34,12 +34,6 @@ class SettingsSerializer(InvenTreeModelSerializer):
return obj.choices()
value = serializers.SerializerMethodField()
def get_value(self, obj):
return obj.to_native_value()
class GlobalSettingsSerializer(SettingsSerializer):
"""