上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页
摘要: @csrf_exempt(免除csrf验证) from django.views.decorators.csrf import csrf_exempt @csrf_exempt def index(request): if request.method == 'GET': return HttpRe 阅读全文
posted @ 2020-05-28 17:09 hanfe1 阅读(122) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_30501975/article/details/80423547?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.nonecase 阅读全文
posted @ 2020-05-28 10:30 hanfe1 阅读(765) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/volitationlong/article/details/81741754 阅读全文
posted @ 2020-05-27 17:51 hanfe1 阅读(140) 评论(0) 推荐(0)
摘要: 在前端开发的过程中,特别是数据表格的处理,我们经常碰到checkbox全选与取消以及动态的根据子类的选中状态确定全选checkbox是否“checked” 全选与取消全选 <html> <body> <table border="1"> <tr> <th><input type="checkbox" 阅读全文
posted @ 2020-05-27 16:17 hanfe1 阅读(2019) 评论(1) 推荐(0)
摘要: 官方地址: https://layer.layui.com/ 案例: jQuery - Ajax请求时自动显示Loading效果(设置全局加载框) https://www.hangge.com/blog/cache/detail_2057.html 下面整理了大佬的一些笔记: layer - 简单好 阅读全文
posted @ 2020-05-26 16:37 hanfe1 阅读(348) 评论(0) 推荐(0)
摘要: python django models中自定义用户认证 #(一) #简单的用户验证 # from django.contrib.auth.models import User # class UserProfile(models.Model):s # '''堡垒机账户''' # user = mo 阅读全文
posted @ 2020-05-26 14:39 hanfe1 阅读(378) 评论(0) 推荐(0)
摘要: 消息队列之真知灼见 https://www.cnblogs.com/pyedu/p/11866829.html RPC的入门应用 https://www.cnblogs.com/pyedu/p/12196027.html 牛哄哄的celery https://www.cnblogs.com/pyed 阅读全文
posted @ 2020-05-25 17:32 hanfe1 阅读(185) 评论(0) 推荐(0)
摘要: jQuery中的prop和attr区别 最近在做一个项目用jq时发现一个问题 在谷歌中可以正常出效果 但是在火狐中就是不行 就是这个prop和attr 之前用的是attr方法 但是在火狐中不出效果 于是特意看了两者的区别 主要区别就是: prop 对于HTML元素本身就带有的固有属性 attr 对于 阅读全文
posted @ 2020-05-25 12:41 hanfe1 阅读(121) 评论(0) 推荐(0)
摘要: 如果是button请将button的类型改为type="button" 因为浏览器会认为button按钮默认类型是submit 会提交数据从而导致整个页面刷新 在ie浏览器中按钮的type默认是button 在其他浏览器(如火狐,chrome)则是submit 加上type="button"完美解决 阅读全文
posted @ 2020-05-22 14:06 hanfe1 阅读(568) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_38892710/article/details/100522122 https://img blog.csdnimg.cn/20190903161727545.gif 阅读全文
posted @ 2020-05-18 11:16 hanfe1 阅读(187) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 36 下一页