为了方便接下来的学习,我们创建一个新的子应用 four 因为接下来的功能中需要使用到登陆功能,所以我们使用django内置admin站点并创建一个管理员. 创建管理员以后,访问admin站点,先修改站点的语言配置 settings.py 访问admin 站点效果: 1. 认证Authenticati ...
分类:
其他好文 时间:
2020-04-26 14:16:42
阅读次数:
73
import cx_Oracle ImportError: DLL load failed: 找不到指定的模块。 ...
分类:
数据库 时间:
2020-04-26 10:56:59
阅读次数:
169
查了很多方法 什么换成 这个版本 试了也没什么作用,还是无法打开浏览器 最后尝试换成 open in browser 2.0.0 换成低版本 的就可以打开默认浏览器了 在open in browser 2.0.0 设置里面 点击安装另一个版本 选择 1.1.0 就可以打开浏览器了 安装后打开不了 重 ...
分类:
其他好文 时间:
2020-04-26 10:40:32
阅读次数:
191
文章解决cacti断图故障,并且日志中“ERROR: SQL Assoc Failed!”报错
分类:
数据库 时间:
2020-04-26 09:16:30
阅读次数:
81
错误代码: qcloud-sdk[auth] ERR_GET_SESSION_KEY: { code: 5100, qcloud-sdk[auth] message: '(-1)服务内部错误,请稍后重试或联系客服人员解决。', qcloud-sdk[auth] codeDesc: 'Resource ...
分类:
其他好文 时间:
2020-04-25 18:59:01
阅读次数:
75
服务器上php脚本执行curl一直 报错超时 换了其他服务器,就可以用。 折腾了个把小时,最终采用另一台服务器作为中转,完美解决。 a服务器发出curl 访问 c服务器绑定的的域名c.com,报错c.com:80; Connection timed out 同样的代码lnmp环境,b服务器发出cur ...
分类:
Web程序 时间:
2020-04-25 01:18:37
阅读次数:
239
Server端: #include <iostream> #include <WinSock2.h> #pragma comment(lib, "ws2_32.lib") int main() { // 初始化Winsock 2.2 WSADATA wsaData; if (WSAStartup(M ...
报错:IDEA failed connect to github.com port 44.: Timed out执行:git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http:/ ...
分类:
其他好文 时间:
2020-04-24 14:32:06
阅读次数:
181
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 一、问题描述 *************************** ...
分类:
Web程序 时间:
2020-04-24 10:28:16
阅读次数:
97
DBGvpp# show int addr UnknownEthernet5/0/0 (up): L2 bridge bd-id 1 idx 1 shg 0 host-ns1_tap (up): L2 bridge bd-id 1 idx 1 shg 0 host-ns7_tap (up): L2 ...
分类:
其他好文 时间:
2020-04-23 19:11:04
阅读次数:
102