摘要: 下载地址:https://cncv.oss-cn-hangzhou.aliyuncs.com/software/dd_for_ubuntu.zip 解压后: cd dingding/ sudo dpkg -i dingding.deb 报错: sudo apt-get update sudo apt 阅读全文
posted @ 2019-12-10 14:02 yuzhen0228 阅读(8005) 评论(0) 推荐(0) 编辑
摘要: settings.py from corsheaders.middleware import CorsMiddleware INSTALLED_APPS = [ ... 'corsheaders', ... ] MIDDLEWARE = [ ... 'django.middleware.clickj 阅读全文
posted @ 2019-12-10 12:14 yuzhen0228 阅读(676) 评论(0) 推荐(0) 编辑
摘要: 1.settings.py MIDDLEWARE 新增中间件 'middleware_log.RequestLogMiddleware' MIDDLEWARE = [ ... 'middleware_log.RequestLogMiddleware' ] 2.settings.py配置 LOGGIN 阅读全文
posted @ 2019-12-10 12:09 yuzhen0228 阅读(1078) 评论(0) 推荐(0) 编辑
摘要: var str="<>"; str=str.replace(/\'/g,"’");//替换半角单引号为全角单引号 str=str.replace(/\"/g,"”");//替换半角双引号为全角双引号 str=str.replace(/</g,"《").replace(/>/g,"》"); 阅读全文
posted @ 2019-12-10 12:04 yuzhen0228 阅读(775) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/lupengCSDN/article/details/80279177 阅读全文
posted @ 2019-12-10 11:56 yuzhen0228 阅读(254) 评论(0) 推荐(0) 编辑