diff options
author | Carlton Gibson <carlton.gibson@noumenal.es> | 2018-12-12 18:49:47 +0100 |
---|---|---|
committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2018-12-12 18:50:53 +0100 |
commit | 8d741bd88fa6bd14327f6fa791017d0773b41cf2 (patch) | |
tree | 8f776eccf7fd0e16d18ab101208cb60425e25f55 | |
parent | fc8c2284e9f9e8d5d17ef35f282917a6833fafed (diff) | |
download | django-8d741bd88fa6bd14327f6fa791017d0773b41cf2.tar.gz |
[2.1.x] Fixed #30036 -- Removed unused imports in pagination example.
Backport of a394289b58b1773c4959ed768fdb325c91b2b589 from master
-rw-r--r-- | docs/topics/pagination.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt index 52cc4113b2..4444251823 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): |