2
0
Эх сурвалжийг харах

Updated note about ListView pagination example in CBV docs.

Follow up to 0f0abc20be55d796ecfc3e7698e7ecfd9e9cdf88.
Theofilos Alexiou 2 жил өмнө
parent
commit
470708f50d

+ 1 - 2
docs/ref/class-based-views/generic-display.txt

@@ -167,8 +167,7 @@ many projects they are typically the most commonly used views.
         </ul>
 
     If you're using pagination, you can adapt the :ref:`example template from
-    the pagination docs <using-paginator-in-view>`. Change instances of
-    ``contacts`` in that example template to ``page_obj``.
+    the pagination docs <paginating-a-list-view>`.
 
 .. class:: django.views.generic.list.BaseListView
 

+ 2 - 0
docs/topics/pagination.txt

@@ -78,6 +78,8 @@ accessing the items for each page::
     objects such as Django's ``QuerySet`` to use a more efficient ``count()``
     method when available.
 
+.. _paginating-a-list-view:
+
 Paginating a ``ListView``
 =========================