From ccb2b8ff691760e4e93f3905975b285cee8b67f8 Mon Sep 17 00:00:00 2001 From: Xavier Ordoquy Date: Tue, 10 Feb 2015 23:56:05 +0100 Subject: Update documentation --- tutorial/5-relationships-and-hyperlinked-apis/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tutorial/5-relationships-and-hyperlinked-apis') 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 += [
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
}
--
cgit v1.2.3