上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: django settings中LOGIN_REDIRECT_URL默认重定向到/accounts/profile下,可通过配置修改 阅读全文
posted @ 2017-04-19 16:12 小黄人python 阅读(1771) 评论(0) 推荐(0) 编辑
摘要: django-users2和django的邮件功能模块都有相关的实现 在所创建的项目下的settings下设置: 注意哦:上面的EAMIL_HOST是126邮箱的smtp服务器,端口默认25. EMAIL_HOST_USER和EMAIL_HOST_PASSWORD是邮件客户端的的账号和密码哦 这个需 阅读全文
posted @ 2017-04-19 11:38 小黄人python 阅读(1597) 评论(0) 推荐(0) 编辑
摘要: http://www.debugrun.com/a/3lWbPJf.html 阅读全文
posted @ 2017-04-18 12:06 小黄人python 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 之前以为一定要用ajax实现,其实是不用的 改动img的src就行,但两次的src是不能一样的。 所以我是这么实现的: 上面代码中的src是链接到一个网址,该网址是对用相应脚本生成一个验证码的网址。 阅读全文
posted @ 2017-04-18 10:58 小黄人python 阅读(1562) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/csapr1987/article/details/7728315 https://zhidao.baidu.com/question/1383738722237041300.html http://stackoverflow.com/questions/2 阅读全文
posted @ 2017-04-16 00:58 小黄人python 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 灵感: http://blog.csdn.net/xxm524/article/details/48369623 使用表单的dajngo的clean()方法实现 阅读全文
posted @ 2017-04-15 23:27 小黄人python 阅读(214) 评论(0) 推荐(0) 编辑
摘要: http://www.jianshu.com/p/82781add8449 阅读全文
posted @ 2017-04-14 11:03 小黄人python 阅读(104) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2858470.html 阅读全文
posted @ 2017-03-22 09:50 小黄人python 阅读(153) 评论(0) 推荐(0) 编辑
摘要: https://linux.cn/article-2518-1.html 阅读全文
posted @ 2017-03-21 14:17 小黄人python 阅读(140) 评论(0) 推荐(0) 编辑
摘要: http://www.linuxidc.com/Linux/2016-06/132171.htm 阅读全文
posted @ 2017-03-20 10:50 小黄人python 阅读(287) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 12 下一页