起步 利用 html5 的 <video> 标签可以播放: 1 2 3 4 <video width="320" height="240" controls> <source src="/static/video/demo.mp4" type="video/mp4"> 您的浏览器不支持Video标签 ...
分类:
其他好文 时间:
2021-05-24 12:43:30
阅读次数:
0
模型中常用字段 字段 说明 AutoField 一般不需要使用这个类型,自增长类型,数据表的字段类型为整数,长度为11位 BigAutoField 自增长类型,数据表的字段类型为bigint,长度为20位 BooleanField 在模型层面接收的是True/False。在数据库层面是tinyint ...
分类:
其他好文 时间:
2021-05-24 12:41:10
阅读次数:
0
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc ...
分类:
其他好文 时间:
2021-05-24 12:05:49
阅读次数:
0
今天写django项目时,总是没有很好的处理办法,在此记录一下大佬的写法 # models里使用即可from django.db.models import BooleanField as _BooleanField class BooleanField(_BooleanField): def ge ...
分类:
其他好文 时间:
2021-05-24 11:12:37
阅读次数:
0
Morgan Stanley uses Apache Kafka® to publish market data to internal clients and to persist it for replay purposes. We started out using librdkafka’s ...
分类:
编程语言 时间:
2021-05-24 10:27:55
阅读次数:
0
使用alibab的EasyExce完成导入导出excel 一、准备工作 1、导包 <!-- poi 相关--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.17</ver ...
分类:
编程语言 时间:
2021-05-24 10:23:33
阅读次数:
0
简介 Docker是Docker.inc公司开源的一个基于LXC技术之上构建的Container容器引擎,源代码托管在GitHub上,基于Go语言并遵从Apache2.0协议开源(可以商业)。 Docker项目的目标是实现轻量级的操作系统虚拟化解决方案。 Docker是容器引擎,Docker是通过内 ...
分类:
其他好文 时间:
2021-05-24 10:00:15
阅读次数:
0
问题:打包Maven项目的时候出现如下代码错误 Failure to find org.glassfish:javax.el:pom:3.0.1-b06-SNAPSHOT in https://repository.apache.org/snapshots was cached in the loc ...
分类:
编程语言 时间:
2021-05-24 09:38:48
阅读次数:
0
对近期的数据库配置进行一个记录,方便我以后查阅。 我的Django项目配备的是Mysql的数据库,平时使用的工具是VS Code,推荐安装Mysql插件,效果不错: 下面是在项目的setting.py中配置的Mysql连接数据: DATABASES = { 'default': { 'ENGINE' ...
分类:
数据库 时间:
2021-05-24 09:06:47
阅读次数:
0
一、关于TableException的问题 [ERROR] Could not execute SQL statement. Reason:org.apache.flink.table.api.TableException: Sink `catalog_1`.`mydb`.`region_sales ...
分类:
其他好文 时间:
2021-05-24 08:49:39
阅读次数:
0