[問題] Django response in other views!?
我不知道該怎麼下個標題
這是一些主要程式碼的部份
http://runnable.com/VTsih34k7RxoTvfE/resjson-for-python-and-django
問題是這樣
我在/tests/ResJson/ 會回傳一個Json response
然後我想在 /polls/getJsonRes/ 接到/tests/ResJson所回傳的那個response
請問我在
def getJsonRes(request): # in polls/vies.py
這個function該怎麼做?
跪求大大<(_ _)>
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 125.224.248.106
※ 文章網址: https://www.ptt.cc/bbs/Python/M.1429938120.A.23D.html
※ 編輯: qas612820704 (125.224.248.106), 04/25/2015 13:14:25
→
04/25 23:26, , 1F
04/25 23:26, 1F
→
04/27 01:19, , 2F
04/27 01:19, 2F
Python 近期熱門文章
PTT數位生活區 即時熱門文章