摘要: 自定义分页 准备知识点: Python内置的@property装饰器就是负责把一个方法变成属性调用的: 简单版分页 from django.shortcuts import render # Create your views here. # 去数据库数据 data = [] for i in ra 阅读全文
posted @ 2018-01-26 19:14 小杜要加油 阅读(262) 评论(1) 推荐(1) 编辑