如果有多个字段,不能使用course.desc这种方式来传数据,太麻烦了!所以使用drf的序列化组件! 做GET接口: 效果:(使用response结构化、使用序列化组件后的数据) 做POST请求: 添加数据后效果: ...
分类:
其他好文 时间:
2018-12-04 00:08:40
阅读次数:
210
https://docs.azure.cn/zh-cn/articles/guidance/azure-for-aliyun-service-comparison https://school.azure.cn/courses/54 ...
分类:
其他好文 时间:
2018-12-03 11:13:08
阅读次数:
287
excel scratch编程 word 软件项目编程等课程优惠券折扣活动集,为方便学员查阅,特整理如下。希望课程可以为您加油助力!
课程总目录:http://edu.51cto.com/sd/17277
分类:
其他好文 时间:
2018-12-03 11:12:10
阅读次数:
160
https://study.163.com/course/courseMain.htm?courseId=1003551009 LogisticRegression RandomForestClassifier feature_selection GradientBoostingClassifier ...
分类:
编程语言 时间:
2018-12-01 13:20:39
阅读次数:
419
https://study.163.com/course/courseMain.htm?courseId=1004937015 ...
分类:
其他好文 时间:
2018-12-01 11:16:39
阅读次数:
231
4-bit加法器示例 先看一下上一节得到的加法器实现,可以看出改进的地方。 不难发现整个过程是从右至左依次执行,每一个进位需要等前面的运算全完成,可以在一开始得到所有的进位吗? 行波进位加法器(Ripple-Carry Adder,RCA) 像上面4-bit加法器这样实现的加法器被称作行波进位加法器 ...
分类:
其他好文 时间:
2018-11-30 20:22:48
阅读次数:
291
P1649 [USACO07OCT]障碍路线Obstacle Course bfs 直接上个bfs 注意luogu的题目和bzoj有不同(bzoj保证有解,还有输入格式不同)。 1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 ...
分类:
其他好文 时间:
2018-11-28 15:46:39
阅读次数:
139
isinstance和issubclass isinstance isinstance(obj1,obj2):判断对象与类之间的关系,判断第一个参数是否是第二个参数的实例。 type()函数和isinstance()函数两者有什么区别呢? issubclass issubclass(obj1,obj ...
分类:
编程语言 时间:
2018-11-27 23:45:15
阅读次数:
384
There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to ...
分类:
其他好文 时间:
2018-11-26 19:56:59
阅读次数:
156
from django.shortcuts import renderfrom rest_framework.views import APIViewfrom rest_framework.response import Responsefrom course import modelsfrom u ...
分类:
其他好文 时间:
2018-11-25 21:20:28
阅读次数:
219