def list(self, request, *args, **kwargs):
    response = {key.lower(): getattr(config, key) for key in self.valid_keys}
    return Response(response)
def list(self, request, *args, **kwargs):
    response = {key.lower(): getattr(config, key) for key in self.valid_keys}
    return Response(response)