diff --git a/docs/ref/class-based-views/generic-display.txt b/docs/ref/class-based-views/generic-display.txt index 4bcca91bac..625a43fa0c 100644 --- a/docs/ref/class-based-views/generic-display.txt +++ b/docs/ref/class-based-views/generic-display.txt @@ -167,8 +167,7 @@ many projects they are typically the most commonly used views. If you're using pagination, you can adapt the :ref:`example template from - the pagination docs `. Change instances of - ``contacts`` in that example template to ``page_obj``. + the pagination docs `. .. class:: django.views.generic.list.BaseListView diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt index d82aa43a72..c91b1e8ba7 100644 --- a/docs/topics/pagination.txt +++ b/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`` =========================