Esempio n. 1
0
 def put(self, request):
     response = server_yaml_conf.ServerYamlConf().update_yaml_conf(request)
     return JsonResponse(response.__dict__)
Esempio n. 2
0
 def get(self, request, *args, **kwargs):
     service_handler = server_yaml_conf.ServerYamlConf()
     response = service_handler.get_yaml_conf(request)
     return JsonResponse(response.__dict__)