请求浏览器重新加载数据/返回前端Json 数据

右键检查

seeting

network

dissable cache 勾选上

==================================

from django.http import JsonResponse
def index(request):
dic = {'name':'hello','age':18}
return JsonResponse(dic)

posted on 2022-12-01 16:05  Plyc  阅读(48)  评论(0编辑  收藏  举报

导航