[2.1.x] Fixed #30036 -- Removed unused imports in pagination example.
Backport of a394289b58b1773c4959ed768fdb325c91b2b589 from master
This commit is contained in:
parent
fc8c2284e9
commit
8d741bd88f
@ -86,7 +86,7 @@ show how you can display the results. This example assumes you have a
|
|||||||
|
|
||||||
The view function looks like this::
|
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
|
from django.shortcuts import render
|
||||||
|
|
||||||
def listing(request):
|
def listing(request):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user