diff options
| author | Tom Christie | 2012-10-17 23:09:11 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-10-17 23:09:11 +0100 |
| commit | fed235dd0135c3eb98bb218a51f01ace5ddd3782 (patch) | |
| tree | d3ac6bee7dd477461ec545b5fd4405ce66c047b5 /docs/tutorial | |
| parent | e126b615420fed12af58675cb4bb52e749b006bd (diff) | |
| download | django-rest-framework-fed235dd0135c3eb98bb218a51f01ace5ddd3782.tar.bz2 | |
Make settings consistent with corrosponding view attributes
Diffstat (limited to 'docs/tutorial')
| -rw-r--r-- | docs/tutorial/quickstart.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 851db3c7..6bde725b 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -126,7 +126,7 @@ We'd also like to set a few global settings. We'd like to turn on pagination, a ) REST_FRAMEWORK = { - 'DEFAULT_PERMISSIONS': ('rest_framework.permissions.IsAdminUser',), + 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAdminUser',), 'PAGINATE_BY': 10 } @@ -169,4 +169,4 @@ If you want to get a more in depth understanding of how REST framework fits toge [image]: ../img/quickstart.png [tutorial]: 1-serialization.md -[guide]: ../#api-guide
\ No newline at end of file +[guide]: ../#api-guide |
