摘要: 所有的数据错做都用这个表结构 表结构 from django.db import models from django.contrib.auth.models import User # Create your models here. class Customer(models.Model): ' 阅读全文
posted @ 2017-01-09 18:03 noube 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Django Paginator Django 分页官方文档 https://docs.djangoproject.com/en/1.10/topics/pagination/ 此分页方法没有限制显示出来的页码的个数,会显示全部的页码,待改进。 后端代码 由于代码是先object_list = mo 阅读全文
posted @ 2017-01-09 12:59 noube 阅读(538) 评论(0) 推荐(0) 编辑