开发者

Django Admin - Configuring Change List Entries

In Django admin, As of now, change list of a model show开发者_StackOverflow中文版s 100 entries per page. Is there any configuration available to customize this limit?


You need a list_per_page attribute in your Django admin.py:

https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_per_page

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜