I have data that is in json format from the database, i want to draw a
graph with data but i'm not sure how to display it in my view in graph
format using the plotly library. My view code display nothing!
*CONTROLLER*
def dashboard():
call_clicks = db().select(db.dashboard.call_clicks)
s
I've had a stable web2py-based service for some years now.
But it broke today with a small change in a data value - that's my working
hypothesis.
The output of the print statement (see code below):
The value of "page_cursor" sent by the caller is "page_cursor" :
"A2ebAAFVVvv0OW53MHyzU0VWVVBx
I am not sure ... did you mean:
def index():
d = {"IP": ["192.111.111.111", "222.222.222.222", "333.333.333.333"],
"MAC": ["aa:aa:aa:aa", "bb:bb:bb:bb", "cc:cc:cc:cc"],
"conn": ["wireless", "wireless", "wireless"]}
return d
index.html:
{{extend 'layout.html'}}
I am reading data from remote machine and converting it into dictionary
format
like
{IP: [192.111.111.111, 222.222.222.222, 333.333.333.333], "MAC":
[aa:aa:aa:aa, bb:bb:bb:bb, cc:cc:cc:cc], "conn": [wireless, wireless,
wireless]}
I am sending this dictionary to view which is index.html where
Hello guys,
I'm wanting an action returns a json like this:
{
"start": "2011-01-27",
"id": 4,
"title": "Fulano Silva"
}
Only to send to the view he is being rendered thus:
"{\n \"start\": \"2011-01-27\", \n
\"id\": 4, \n \"title\": \"Fulano
Silva\"\n}"
The code I made to ret
5 matches
Mail list logo