摘要: 参考地址:https://www.jianshu.com/p/576dbf44b2ae,https://www.cnblogs.com/ls-2018/p/11858551.html 1. 定义 Json web token (JWT),用于认证身份 2. cookie与session cookie 阅读全文
posted @ 2021-07-26 16:01 10132714 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 1. 图片字段,有imagefield 2. 字段的默认值可以是一个函数名 3. 创建时间和更新时间的设置为auto_add_now和auto_add 4. 指定表名 class Meta: db_table = 'my_tabie_name' 5. 用户密码加密 1. 图片 6. 时区配置 1. 阅读全文
posted @ 2021-07-26 14:42 10132714 阅读(172) 评论(0) 推荐(0) 编辑