仓库源文站点原文


tags: [django]

表格分页的实现,django提供了一个内置的快捷类Paginator

Using Paginator in a view

Using Paginator in template

记录一个mysql和django不同步的bug,最后只能删掉数据库

https://stackoverflow.com/questions/3787237/django-models-1054-unknown-column-in-field-list