mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Update URL strucuture, fixed string based calls
This commit is contained in:
@@ -16,7 +16,7 @@ class SettingSerializer(BaseSerializer):
|
||||
class Meta:
|
||||
model = Setting
|
||||
fields = ('id', 'key', 'value')
|
||||
readonly_fields = ('id', 'key', 'value')
|
||||
read_only_fields = ('id', 'key', 'value')
|
||||
|
||||
def __init__(self, instance=None, data=serializers.empty, **kwargs):
|
||||
if instance is None and data is not serializers.empty and 'key' in data:
|
||||
|
||||
Reference in New Issue
Block a user