diff options
| author | Tom Christie | 2012-10-18 04:46:01 -0700 |
|---|---|---|
| committer | Tom Christie | 2012-10-18 04:46:01 -0700 |
| commit | 0c65d9babee24f7c772dde2fc98ea4fdcb2ab6aa (patch) | |
| tree | ffb4daf6f46779711b0d6e9619f85a96b80a51a9 /docs/tutorial/quickstart.md | |
| parent | e8f542aac88677cd95c473d56511cadbc0c67813 (diff) | |
| parent | fed235dd0135c3eb98bb218a51f01ace5ddd3782 (diff) | |
| download | django-rest-framework-0c65d9babee24f7c772dde2fc98ea4fdcb2ab6aa.tar.bz2 | |
Merge pull request #304 from tomchristie/consitent_settings
Make settings consistent with corrosponding view attributes
Diffstat (limited to 'docs/tutorial/quickstart.md')
| -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 |
