1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Introduce DEFAULT_USER_PREFERENCES dynamic config setting

This commit is contained in:
jeremystretch
2021-12-21 20:30:59 -05:00
parent 2c01e178c7
commit 1eeac7f4f4
6 changed files with 36 additions and 2 deletions

View File

@ -31,6 +31,7 @@ PREFERENCES = {
'pagination.per_page': UserPreference(
label='Page length',
choices=get_page_lengths(),
description='The number of objects to display per page',
coerce=lambda x: int(x)
),