1. 分页后台 # 1、导包 from django.core.paginator import Paginator class UserView(View): def get(self, request): # 2、查询数据 user_list = models.User.objects