diff options
| author | José Padilla | 2015-02-06 11:31:25 -0400 |
|---|---|---|
| committer | José Padilla | 2015-02-06 11:31:25 -0400 |
| commit | 235b98e427e2bae2b52fb386a42c8045724de251 (patch) | |
| tree | 3af26b60e979fd9b2ca598ff4d1806e4885857b1 /docs/tutorial/5-relationships-and-hyperlinked-apis.md | |
| parent | 0e4d202c5804aea826907fd667b672edea1ef211 (diff) | |
| parent | 5bf803b6ed260d9afde47400b7d5e8912a16ecf6 (diff) | |
| download | django-rest-framework-235b98e427e2bae2b52fb386a42c8045724de251.tar.bz2 | |
Merge pull request #2460 from mmarvick/master
Small fixes to the tutorial
Diffstat (limited to 'docs/tutorial/5-relationships-and-hyperlinked-apis.md')
| -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 |
