摘要: 1、注册和注册处理 注册和注册处理使用了类视图去处理,使用itsdangerous去生成用户token,: 2、注册激活用户 用户激活成功,返回到登陆页面,如果激活链接过期,重新又生成链接时激活(之后更新写) 阅读全文
posted @ 2019-12-10 01:05 智、心 阅读(1022) 评论(0) 推荐(0) 编辑
摘要: 1. NoReverseMatch at / 'blog' is not a registered namespace 解决方法: app应用的urls中没有添加应用名 app_name = 'blog' 解决方法: 找到Python安装路劲下的Python36 32\Lib\site packag 阅读全文
posted @ 2019-12-10 00:33 智、心 阅读(176) 评论(0) 推荐(0) 编辑