码迷,mamicode.com
首页 >  
搜索关键字:required    ( 3455个结果
rtems chain
rtems 4.6 chain.h (cpukit\libcsupport\include)提供用户程序接口,用户程序接口无下划线开头,内核程序使用下划线开头 /* chain.h * * This include file contains all the constants and struct ...
分类:其他好文   时间:2020-03-14 13:20:32    阅读次数:61
【Linux】Centos7密码登录失败锁定设置_20200313
针对linux上的用户,如果用户连续3次登录失败,就锁定该用户,几分钟后该用户再自动解锁。Linux有一个pam_tally2.so的PAM模块,来限定用户的登录失败次数,如果次数达到设置的阈值,则锁定用户。 PAM的配置文件介绍 PAM配置文件有两种写法: 1.一种是写在/etc/pam.conf ...
分类:系统相关   时间:2020-03-13 22:15:09    阅读次数:359
python :practice function return
define function .return value is required. instance: def f(): print('hello world') return 10 # return represents two replications. 1:process is execut ...
分类:编程语言   时间:2020-03-13 20:20:20    阅读次数:54
pycharm运动Django项目时出现mysqlclient 1.3.13 or newer is required; you have 0.9.3
找到Python安装路劲下的Python36-32\Lib\site-packages\django\db\backends\mysql\base.py文件 将文件中的如下代码注释if version < (1, 3, 3): raise ImproperlyConfigured("mysqlcli ...
分类:数据库   时间:2020-03-12 18:47:50    阅读次数:70
Tomcat:在多端口发布应用
背景说明:在tomcat中发布应用,最简单的办法就是放在webapps中,简单省事!但是也有弊端,就是如果其下有多个应用,那么我们不得不加上应用名称,这就有点不方便了。现在经常用nginx做前端,反向代理到tomcat,用域名直接访问应用,省略tomcat端口及应用名称。这个时候就需要我们在一个to... ...
分类:其他好文   时间:2020-03-10 11:49:01    阅读次数:58
Protobuf编码
Protobuf的编码规则:Varint和Zigzag编码。 ...
分类:其他好文   时间:2020-03-08 23:16:18    阅读次数:67
表单元素
//autofocus 1.自动获取焦点 2.autocomplete:on 打开 off关闭 必须配合name属性(获取提交记录) 3.required 必须填写内容不然不可以提交 4.pattern正则表达式验证 "^(\+86)?1\d{10}$" 5.<form id="#"></form> ...
分类:其他好文   时间:2020-03-08 14:28:54    阅读次数:74
后台创建管理员 createsuperuser 时 报django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module. Did you install mysqlclient?
pip install pymysql 结果版本0.9.3 django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 需要pip指定版本号安装 结果清华源 ...
分类:数据库   时间:2020-03-08 13:40:31    阅读次数:89
EasyUi的form验证框位置修改
原代码: <th><span class="remind">*</span> 要求节点:</th> <td><input title="需求时间" class="easyui-datebox " editable="false" data-options="required:true" type=" ...
分类:其他好文   时间:2020-03-05 15:11:46    阅读次数:65
element+sortablejs插件实现拖拽排序效果
背景1、后台管理系统中表格需要实现行拖拽功能2、表格使用element组件库中el-table 方案介绍 1、Sortable.js介绍:Sortable.js是一款轻量级的拖放排序列表的js插件引用自官方文档:No jQuery required. Supports Meteor, Angular ...
分类:编程语言   时间:2020-03-05 15:09:03    阅读次数:93
3455条   上一页 1 ... 25 26 27 28 29 ... 346 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!