diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt index 52cc4113b2f..44442518232 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):