瀏覽代碼

Fixed #30036 -- Removed unused imports in pagination example.

Carlton Gibson 6 年之前
父節點
當前提交
a394289b58
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/topics/pagination.txt

+ 1 - 1
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):