0x01简介Django是一款广为流行的开源web框架,由Python编写,许多网站和app都基于Django开发。什么是JSONField,Django是一个大而全的Web框架,其支持很多数据库引擎,包括Postgresql、Mysql、Oracle、Sqlite3等,但与Django天生为一对儿的数据库莫过于Postgresql了,Django官方也建议配合Postgresql一起使用。相比于
分类:
数据库 时间:
2020-07-29 10:40:56
阅读次数:
98
class Team(models.Model): _name = 'icbc.team' _description = '专业组' uid = fields.Integer('序号', required=1) name = fields.Char('专业组', required=1) team_l ...
分类:
其他好文 时间:
2020-07-29 10:35:14
阅读次数:
81
CF 1374A. Required Remainder You are given three integers x,y and n. Your task is to find the maximum integer k such that 0≤k≤n that kmodx=y, where mo ...
分类:
其他好文 时间:
2020-07-29 10:29:20
阅读次数:
63
Task Scheduler (M) 题目 You are given a char array representing tasks CPU need to do. It contains capital letters A to Z where each letter represents a ...
分类:
其他好文 时间:
2020-07-29 10:27:27
阅读次数:
69
Motivation The task of finding nearest neighbours is very common. You can think of applications like finding duplicate or similar documents, audio/vid ...
分类:
其他好文 时间:
2020-07-29 10:07:50
阅读次数:
68
1.数据处理时缺失指怎么处理 2.L1和L2的区别 3.高维数据如何降维 4.特征处理,连续型和非连续性,给了个例子,年龄和user_id两个特征如何处理 5.LR了解吗,如何解决过拟合问题 6.如何评估模型结果,我把分类和回归分别解释,介绍各种评估方式的不足,还问了ROC曲线横纵坐标 7.Rand ...
分类:
其他好文 时间:
2020-07-28 22:38:27
阅读次数:
115
e.subject.part.findLinksInto().each(function (node) { console.log(node.data); that.myDiagram.model.setDataProperty(node.data, "prevSeqId", 1); }); ...
分类:
Web程序 时间:
2020-07-28 22:07:16
阅读次数:
112
Json 转 Model 引用 using Newtonsoft.Json; T Model= JsonConvert.DeserializeObject<T> (JsonString ); Model 转 Json 引用 using System.Web.Script.Serialization; ...
之前有博文测试了SELECT_PRINTER(),这个是临时默认打印机,前面的博文对比了如何设置windows默认打印机,如何设置临时默认打印机。以及临时默认打印指定后,在lodop和c-lodop的效果。 前面的博文链接(cnblog的):LODOP指定window默认打印机和临时默认打印机、 之 ...
分类:
其他好文 时间:
2020-07-28 17:08:04
阅读次数:
101
SELECT CONCAT( ROUND( t1.total / t2.totalCount * 100, 2 ), '%' ) AS LocalPercent, t1.school_task_id, 0 as NonlocalPercent FROM ( select count(a.studen ...
分类:
其他好文 时间:
2020-07-28 13:56:22
阅读次数:
87