摘要: 一 创建分页视图类 from .models import Data from django.views.generic import ListView class DataListView(ListView): model = Data # 渲染的页面 template_name = 'index 阅读全文
posted @ 2019-05-16 14:14 菜鸟SSS 阅读(256) 评论(0) 推荐(0) 编辑