会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
kosa
博客园
首页
新随笔
联系
管理
订阅
2018年3月1日
分页,主要用于python django框架
摘要: 1 class Page: 2 def __init__(self,list_count,current_page,page_list_num=10,page_num=7): 3 #总条数 4 self.list_count = list_count 5 #每页显示的数据条数 6 self.page
阅读全文
posted @ 2018-03-01 20:10 kosa
阅读(262)
评论(0)
推荐(0)
编辑
公告