aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/5-relationships-and-hyperlinked-apis
diff options
context:
space:
mode:
authorXavier Ordoquy2015-02-10 23:56:05 +0100
committerXavier Ordoquy2015-02-10 23:56:05 +0100
commitccb2b8ff691760e4e93f3905975b285cee8b67f8 (patch)
treef841204e1818f09c91e062e4bdedefe2732c65c1 /tutorial/5-relationships-and-hyperlinked-apis
parentb0a1712ebd2eeb9dfe17d0e2f7e1abd7000cfa15 (diff)
downloaddjango-rest-framework-ccb2b8ff691760e4e93f3905975b285cee8b67f8.tar.bz2
Update documentation
Diffstat (limited to 'tutorial/5-relationships-and-hyperlinked-apis')
-rw-r--r--tutorial/5-relationships-and-hyperlinked-apis/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/5-relationships-and-hyperlinked-apis/index.html b/tutorial/5-relationships-and-hyperlinked-apis/index.html
index 39b8dd42..488bcb4a 100644
--- a/tutorial/5-relationships-and-hyperlinked-apis/index.html
+++ b/tutorial/5-relationships-and-hyperlinked-apis/index.html
@@ -512,7 +512,7 @@ urlpatterns += [
</code></pre>
<h2 id="adding-pagination">Adding pagination</h2>
<p>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.</p>
-<p>We can change the default list style to use pagination, by modifying our <code>settings.py</code> file slightly. Add the following setting:</p>
+<p>We can change the default list style to use pagination, by modifying our <code>tutorial/settings.py</code> file slightly. Add the following setting:</p>
<pre><code>REST_FRAMEWORK = {
'PAGINATE_BY': 10
}