tweaked the webui_api_explorer_url->webui_sandbox_introductions

and remove the replace
This commit is contained in:
hongwei1 2019-07-03 15:32:14 +02:00
parent 2f527752e3
commit f3b7cd488f

View File

@ -58,8 +58,8 @@ class IndexView(LoginRequiredMixin, FormView):
data = form.cleaned_data
urlpath = '/management/webui_props'
payload = {
"name":"webui_api_explorer_url",
"value" : str(data["webui_props"]).replace("\n", "\\n").replace("\"", '\\"')
"name":"webui_sandbox_introductions",
"value" : str(data["webui_props"])
}
result = self.api.post(urlpath, payload=payload)
except APIError as err: