发布的讨论
整理分享,跟进回复,让每一次交流都有下文。
发布的讨论 1
看不明白的django代码
def get(self, request): #处理get请求 if len(request.GET) <= 0: #请求体中无附加信息 fixedCostDatas = FixedCost.objects.all() #ORM系统查询 data = [ #响应数据构建 ...
整理分享,跟进回复,让每一次交流都有下文。
def get(self, request): #处理get请求 if len(request.GET) <= 0: #请求体中无附加信息 fixedCostDatas = FixedCost.objects.all() #ORM系统查询 data = [ #响应数据构建 ...