diff options
| author | Tom Christie | 2013-04-26 14:03:26 +0100 |
|---|---|---|
| committer | Tom Christie | 2013-04-26 14:03:26 +0100 |
| commit | e301e2d974649a932ab9a7ca32199c068fa30495 (patch) | |
| tree | 89591732481ff53f9e72421b77333c6134cbb920 /docs/api-guide/permissions.md | |
| parent | d985aec3c9034ab1aa899e914a5ac0baf314cb3c (diff) | |
| download | django-rest-framework-e301e2d974649a932ab9a7ca32199c068fa30495.tar.bz2 | |
Adding 'view or viewset' to docs appropriate.
Diffstat (limited to 'docs/api-guide/permissions.md')
| -rw-r--r-- | docs/api-guide/permissions.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/api-guide/permissions.md b/docs/api-guide/permissions.md index 4772c5e0..4b3eda6d 100644 --- a/docs/api-guide/permissions.md +++ b/docs/api-guide/permissions.md @@ -39,7 +39,8 @@ If not specified, this setting defaults to allowing unrestricted access: 'rest_framework.permissions.AllowAny', ) -You can also set the authentication policy on a per-view basis, using the `APIView` class based views. +You can also set the authentication policy on a per-view, or per-viewset basis, +using the `APIView` class based views. class ExampleView(APIView): permission_classes = (IsAuthenticated,) |
