From 5e96a1ddf17946595a22083b035f99418dd2cbd7 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 23 Mar 2015 11:34:01 +0000 Subject: [PATCH] Update documentation --- api-guide/pagination/index.html | 2 +- api-guide/versioning/index.html | 8 +++++--- topics/release-notes/index.html | 20 +++++++++++++++++-- .../index.html | 4 +++- 4 files changed, 27 insertions(+), 7 deletions(-) diff --git a/api-guide/pagination/index.html b/api-guide/pagination/index.html index 6da6e1355..b51d76105 100644 --- a/api-guide/pagination/index.html +++ b/api-guide/pagination/index.html @@ -589,7 +589,7 @@ class StandardResultsSetPagination(PageNumberPagination):

The CursorPagination class includes a number of attributes that may be overridden to modify the pagination style.

To set these attributes you should override the CursorPagination class, and then enable your custom pagination class as above.

-

After adding all those names into our URLconf, our final snippets/urls.py file should look something like this:

+

After adding all those names into our URLconf, our final snippets/urls.py file should look like this:

from django.conf.urls import url, include
+from rest_framework.urlpatterns import format_suffix_patterns
+from snippets import views
 
 # API endpoints
 urlpatterns = format_suffix_patterns([