diff options
| author | Michael Marvick | 2015-01-25 23:47:01 -0800 | 
|---|---|---|
| committer | Michael Marvick | 2015-01-25 23:47:01 -0800 | 
| commit | 73bd0d539f24d45695615c25a072175c58a4cf98 (patch) | |
| tree | ef4df8030b05c3272fce0fb53efc4de241d3b1f2 /docs | |
| parent | 2a6937f381fe514e6cc9165c0aee200bf145788f (diff) | |
| download | django-rest-framework-73bd0d539f24d45695615c25a072175c58a4cf98.tar.bz2 | |
tutorial #5 incorrectly referenced 'settings.py' instead of 'tutorial/settings.py'
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/tutorial/5-relationships-and-hyperlinked-apis.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/tutorial/5-relationships-and-hyperlinked-apis.md b/docs/tutorial/5-relationships-and-hyperlinked-apis.md index 2841f03e..740a4ce2 100644 --- a/docs/tutorial/5-relationships-and-hyperlinked-apis.md +++ b/docs/tutorial/5-relationships-and-hyperlinked-apis.md @@ -138,7 +138,7 @@ After adding all those names into our URLconf, our final `snippets/urls.py` file  The list views for users and code snippets could end up returning quite a lot of instances, so really we'd like to make sure we paginate the results, and allow the API client to step through each of the individual pages. -We can change the default list style to use pagination, by modifying our `settings.py` file slightly.  Add the following setting: +We can change the default list style to use pagination, by modifying our `tutorial/settings.py` file slightly.  Add the following setting:      REST_FRAMEWORK = {          'PAGINATE_BY': 10 | 
