Przeglądaj źródła

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

Carlton Gibson 6 lat temu
rodzic
commit
a394289b58
1 zmienionych plików z 1 dodań i 1 usunięć
  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):