其实我们很多后台需求都是 table.
而 DataTables 是好多年来呈现 table 不多的选择之一
能解决大部分对于 table 的需求.
但是 API 有些繁琐, 这次恰好看到了有 Python 相关的封装, 推荐给大家
Pyramid 框架
https://github.com/Pegase745/sqlalchemy-datatables
稍微改了下, 做成了 Flask 框架的:
https://github.com/Pegase745/sqlalchemy-datatables
Django 的选择貌似多了些:
https://github.com/noirbizarre/django-eztables
https://github.com/pivotal-energy-solutions/django-datatable-view
https://bitbucket.org/pigletto/django-datatables-view
而 DataTables 是好多年来呈现 table 不多的选择之一
能解决大部分对于 table 的需求.
但是 API 有些繁琐, 这次恰好看到了有 Python 相关的封装, 推荐给大家
Pyramid 框架
https://github.com/Pegase745/sqlalchemy-datatables
稍微改了下, 做成了 Flask 框架的:
https://github.com/Pegase745/sqlalchemy-datatables
Django 的选择貌似多了些:
https://github.com/noirbizarre/django-eztables
https://github.com/pivotal-energy-solutions/django-datatable-view
https://bitbucket.org/pigletto/django-datatables-view