一、创建表 创建模型 创建名为book的app,在book下的models.py中创建模型: from django.db import models # Create your models here. class Book(models.Model): id=models.AutoField(p ...
分类:
数据库 时间:
2021-04-10 13:08:36
阅读次数:
0
代码 # -*- coding: utf-8 -*- from PyQt5 import QtCore, QtWidgets from PyQt5.QtWidgets import QFrame, QApplication, QMainWindow import sys class Ui_MainW ...
分类:
其他好文 时间:
2021-04-10 13:08:17
阅读次数:
0
from sqlalchemy import create_engine, MetaData from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker, scoped ...
分类:
数据库 时间:
2021-04-10 13:00:24
阅读次数:
0
1.安装 npm install animate.css@3.7.2 --save 2.引入 main.js中: import animated from 'animate.css' Vue.use(animated) 3.使用 vue文件中: <!-- 直接使用animated中的动画class名 ...
分类:
其他好文 时间:
2021-04-10 12:54:36
阅读次数:
0
<template> <div>{{propContent}}</div> </template> <script> import { watchEffect, watch, ref } from "vue"; export default { name: "", components: {}, m ...
分类:
其他好文 时间:
2021-04-09 13:36:07
阅读次数:
0
zabbix配置流程 针对对象不同配置 运维加监控 开发需要 提供需求,以及获取需求的指令 运营需要 通用流程 添加主机组 添加监控项 添加触发器 添加媒介 添加收件人邮箱 配置动作 手动触发(模拟问题出现) 查看界面是否提示问题 实例 环境: ip|设备 | 192.168.94.143|node ...
分类:
其他好文 时间:
2021-04-09 13:26:20
阅读次数:
0
需要配置一下,才可直接用局域网 IP 访问,方法如下: 给 dev 添加--host 0.0.0.0 属性: "scripts": { "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js ...
分类:
其他好文 时间:
2021-04-09 13:06:40
阅读次数:
0
前言 github:https://github.com/pengqiangsheng/easy-typer-js 内容 安装 npm install easy-typer-js --save 封装 print.js import EasyTyper from 'easy-typer-js' exp ...
分类:
Web程序 时间:
2021-04-09 13:02:48
阅读次数:
0
1.以dba管理员登录 sqlplus / as sysdba 2.查看密码策略 SQL> select * from dba_profiles where resource_NAME='PASSWORD_VERIFY_FUNCTION'; 3.登录PL/SQL,以sysdba方式登录,密码输入默认 ...
分类:
数据库 时间:
2021-04-09 12:59:55
阅读次数:
0
1、如果想把某个自增列的序号归零,只需要修改 sqlite_sequence表就可以了。delete from TableName; //清空数据update sqlite_sequence SET seq =0 where name ='TableName';//自增长ID为02、要想将所有表的自 ...
分类:
数据库 时间:
2021-04-09 12:58:19
阅读次数:
0