mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2025-08-14 18:58:13 +08:00
update docs
This commit is contained in:
@ -22,15 +22,12 @@ class Role(AbstractRole):
|
|||||||
"""
|
"""
|
||||||
must inheritance AbstractRole
|
must inheritance AbstractRole
|
||||||
"""
|
"""
|
||||||
users = fields.ManyToManyField("models.AdminUser")
|
|
||||||
|
|
||||||
|
|
||||||
class AdminLog(AbstractAdminLog):
|
class AdminLog(AbstractAdminLog):
|
||||||
"""
|
"""
|
||||||
must inheritance AbstractAdminLog
|
must inheritance AbstractAdminLog
|
||||||
"""
|
"""
|
||||||
users = fields.ManyToManyField("models.AdminUser")
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
And set `permission=True` to active it:
|
And set `permission=True` to active it:
|
||||||
|
Reference in New Issue
Block a user