03 2021 档案

摘要:1、 https://blog.csdn.net/buxianghejiu/article/details/79086011 on_delete=None, # 删除关联表中的数据时,当前表与其关联的field的行为on_delete=models.CASCADE, # 删除关联数据,与之关联也删除 阅读全文

posted @ 2021-03-31 17:31 风行天下-2080 阅读(42) 评论(0) 推荐(0) 编辑 |

摘要:1、https://www.jb51.net/article/62559.htm 第一种方法:通过socket.gethostbyname方法获得 1 2 3 import socket localIP = socket.gethostbyname(socket.gethostname())#得到本 阅读全文

posted @ 2021-03-29 17:25 风行天下-2080 阅读(271) 评论(0) 推荐(0) 编辑 |

摘要:1、 https://blog.csdn.net/yangxiaodong88/article/details/80607579 2、在view.py文件中使用truncate def software(request): db = MySQLdb.connect("10.116.xx.xx", " 阅读全文

posted @ 2021-03-29 17:07 风行天下-2080 阅读(849) 评论(0) 推荐(0) 编辑 |

摘要:环境: 1、 models.py from django.db import models# Create your models here.class savelist(models.Model): softname=models.CharField(max_length=300,null=Tru 阅读全文

posted @ 2021-03-28 12:08 风行天下-2080 阅读(464) 评论(0) 推荐(0) 编辑 |

摘要:1、 https://blog.csdn.net/msq16021/article/details/113617327 一开始都是这么简单的写,并无报错db = pymysql.connect("localhost", "root", "196811", "db_student",charset=" 阅读全文

posted @ 2021-03-27 21:47 风行天下-2080 阅读(646) 评论(0) 推荐(0) 编辑 |

摘要:1、 https://www.cnblogs.com/jpfss/p/11021948.html 2、 https://blog.csdn.net/junmoxi/article/details/103599436 3、 https://segmentfault.com/a/119000001501 阅读全文

posted @ 2021-03-09 15:05 风行天下-2080 阅读(148) 评论(0) 推荐(0) 编辑 |

摘要:1、 https://www.jb51.net/os/windows/win2008/680941.html windows server 2008r2系统设置IP黑名单方法介绍 1、打开Windows 防火墙; 2、点左侧 “高级设置”; 3、右击 “入站规则” 》“新建规则”: 4、依次点击: 阅读全文

posted @ 2021-03-04 12:06 风行天下-2080 阅读(1635) 评论(0) 推荐(0) 编辑 |

摘要:1、防止SQL注入 https://www.cnblogs.com/wangcp-2014/p/11354193.html 2、SQL注入攻击介绍 https://www.cnblogs.com/linybo/p/10794218.html 阅读全文

posted @ 2021-03-02 10:04 风行天下-2080 阅读(78) 评论(0) 推荐(0) 编辑 |

摘要:1、windows修改远程连接端口的方法 https://jingyan.baidu.com/article/fec7a1e59f0dc31190b4e7c0.html 2、 samba 端口_禁用445端口后,smb如何使用 https://blog.csdn.net/weixin_3995929 阅读全文

posted @ 2021-03-01 15:54 风行天下-2080 阅读(292) 评论(0) 推荐(0) 编辑 |

随笔 - 618, 文章 - 0, 评论 - 6, 阅读 - 37万

Copyright © 2025 风行天下-2080
Powered by .NET 9.0 on Kubernetes

点击右上角即可分享
微信分享提示