码迷,mamicode.com
首页 >  
搜索关键字:allowed or required    ( 4937个结果
mysql的max_allowed_packet配置
开发中经常出现批量的插入或者更新操作,当批量操作的数据较多时,比如到了几万行数据,会遇到操作数据库报错的情况,这个其中一种原因就是max_allowed_packet的配置问题,max_allowed_packet配置了数据库单次执行sql语句的大小,若超出配置的大小,就会出现报错。 如何查看max ...
分类:数据库   时间:2020-04-07 00:30:32    阅读次数:84
Django Mysql驱动版本问题
提示错误 mysqlclient 1.3.13 or newer is required; you have 0.9.3. raise ImproperlyConfigured('mysqlclient 1.3.13 or newer is required; you have %s.' % Dat ...
分类:数据库   时间:2020-04-06 13:36:41    阅读次数:82
Django自定义404页面
一、编辑setting.py文件 DEBUG = False ALLOWED_HOSTS = ['*',] TEMPLATES = [ { ... 'DIRS': [os.path.join(BASE_DIR, 'templates')] ... }, ] 二、在templates文件夹下新建404 ...
分类:其他好文   时间:2020-04-06 13:29:41    阅读次数:103
python路径写入注册表,导入三方模块win32
python在安装第三方模块时候,需要将python的路径写入注册表,否则会提示 ‘python version 3.8-32 required,which was not found in the registry.’此时需要查看你的注册表 以下为检查及写入方法。 一、第一步先检查python路径 ...
分类:编程语言   时间:2020-04-06 11:21:47    阅读次数:108
[Algo] Min Cost to Cut Ropes
Given n ropes of different lengths, we need to connect these ropes into one rope. We can connect only 2 ropes at a time. The cost required to connect ...
分类:其他好文   时间:2020-04-06 09:45:55    阅读次数:78
[LeetCode] 460. LFU Cache
LFU缓存。我就直接引用LC中文网的题干了。 请你为 最不经常使用(LFU)缓存算法设计并实现数据结构。它应该支持以下操作:get 和 put。get(key) - 如果键存在于缓存中,则获取键的值(总是正数),否则返回 -1。 put(key, value) - 如果键不存在,请设置或插入值。当缓 ...
分类:系统相关   时间:2020-04-06 09:31:03    阅读次数:73
【错误日志】NoSuchMethodError/Required String parameter 'id' is not present
一、NoSuchMethodError 因为对服务方进行了修改,没有进行install操作,导致消费方无法找到该方法。 二、Required String parameter 'id' is not present 前端使用result风格的url方式传递参数时: <a href="buy/${de ...
分类:其他好文   时间:2020-04-04 22:40:23    阅读次数:77
springboot(2)-Http协议接口开发
@RestController and @RequestMapping是springMVC的注解,不是springboot特有的 @RestController = @Controller+@ResponseBody @SpringBootApplication = @Configuration+@ ...
分类:编程语言   时间:2020-04-04 20:18:34    阅读次数:106
jQuery Validate多实例讲解
规则 描述 required:true 必须输入的字段。 remote:"check.php" 使用 ajax 方法调用 check.php 验证输入值。 email:true 必须输入正确格式的电子邮件。 url:true 必须输入正确格式的网址。 date:true 必须输入正确格式的日期。日期 ...
分类:Web程序   时间:2020-04-04 11:55:00    阅读次数:89
Spring 远程调用工具类RestTemplateUtils
Spring 远程调用Rest服务工具类,包含Get、Post、Put、Delete四种调用方式。 依赖jar <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <v ...
分类:编程语言   时间:2020-04-02 00:59:52    阅读次数:72
4937条   上一页 1 ... 30 31 32 33 34 ... 494 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!