摘要: 自定义分页 稳抓稳打版 def publisher_list(request): # 从URL中取当前访问的页码数 try: current_page = int(request.GET.get('page')) except Exception as e: # 取不到或者页码数不是数字都默认展示第 阅读全文
posted @ 2020-04-03 17:43 my_Sunday 阅读(185) 评论(0) 推荐(0) 编辑