diff options
| author | Daniel Sokolowski | 2012-10-21 07:52:10 -0700 |
|---|---|---|
| committer | Daniel Sokolowski | 2012-10-21 07:52:10 -0700 |
| commit | d53ee8a10c5fd3c95a577a409d39a394a838b0b7 (patch) | |
| tree | d9228a3fe855ac0c4ab4cb7be579415e3b52627a /docs/api-guide/views.md | |
| parent | efabd2bb1b762fbdee2b48fa3a6ccb8f23c7e8dc (diff) | |
| parent | 65d4970bf71d31669f10dc0cecd4a2a00acd7393 (diff) | |
| download | django-rest-framework-d53ee8a10c5fd3c95a577a409d39a394a838b0b7.tar.bz2 | |
Merge pull request #308 from markotibold/docs-edits
Documentation spelling and other mistake fixes.
Diffstat (limited to 'docs/api-guide/views.md')
| -rw-r--r-- | docs/api-guide/views.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/views.md b/docs/api-guide/views.md index 77349252..e3fbadb2 100644 --- a/docs/api-guide/views.md +++ b/docs/api-guide/views.md @@ -27,7 +27,7 @@ For example: * Only admin users are able to access this view. """ authentication_classes = (authentication.TokenAuthentication,) - permission_classes = (permissions.IsAdmin,) + permission_classes = (permissions.IsAdminUser,) def get(self, request, format=None): """ @@ -123,4 +123,4 @@ REST framework also gives you to work with regular function based views... **[TODO]** [cite]: http://reinout.vanrees.org/weblog/2011/08/24/class-based-views-usage.html -[cite2]: http://www.boredomandlaziness.org/2012/05/djangos-cbvs-are-not-mistake-but.html
\ No newline at end of file +[cite2]: http://www.boredomandlaziness.org/2012/05/djangos-cbvs-are-not-mistake-but.html |
