Browse Source

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

Carlton Gibson 6 năm trước cách đây
mục cha
commit
a394289b58
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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):