简体   繁体   中英

How to add dummy data to datatable in django?

I have done one small application in django .For datatables , I have used from django_datatables_view.base_datatable_view import BaseDatatableView import .For this datatable,it will show results directly from queryset . Now my requirement is to add some dummy data to that queryset ( want to show some dummy data in view )

您可以尝试django-autofixture,也可以在这里查看其他的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM