1. User Model
Django内置的权限系统包括以下三个部分:
- 用户(Users)
- 许可(Permissions):用来定义一个用户(user)是否能够做某项任务(task)
- 组(Groups):一种可以批量分配许可到多个用户的通用方式
Django内置的权限系统包括以下三个部分:
1 | git config --global user.name 'fhy' |
Your identification has been saved in /home/fhy/.ssh/id_rsa.
Your public key has been saved in /home/fhy/.ssh/id_rsa.pub.
1 cat /home/fhy/.ssh/id_rsa.pub