mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-03 20:03:35 +03:00
add missing whitespace
This commit is contained in:
parent
741b387f35
commit
73cf859e26
|
@ -78,7 +78,7 @@ This permission is suitable if you want your API to only be accessible to regist
|
||||||
|
|
||||||
## IsAdminUser
|
## IsAdminUser
|
||||||
|
|
||||||
The `IsAdminUser` permission class will deny permission to any user, unless `user.is_staff`is `True` in which case permission will be allowed.
|
The `IsAdminUser` permission class will deny permission to any user, unless `user.is_staff` is `True` in which case permission will be allowed.
|
||||||
|
|
||||||
This permission is suitable is you want your API to only be accessible to a subset of trusted administrators.
|
This permission is suitable is you want your API to only be accessible to a subset of trusted administrators.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user