diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt index 05c101321f..92d2bedb14 100644 --- a/docs/topics/pagination.txt +++ b/docs/topics/pagination.txt @@ -86,7 +86,7 @@ show how you can display the results. This example assumes you have a The view function looks like this:: - from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator + from django.core.paginator import Paginator from django.shortcuts import render def listing(request):