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

@ -33,6 +33,9 @@ class ConfigRevisionAdmin(admin.ModelAdmin):
('NAPALM', {
'fields': ('NAPALM_USERNAME', 'NAPALM_PASSWORD', 'NAPALM_TIMEOUT', 'NAPALM_ARGS'),
}),
('User Preferences', {
'fields': ('DEFAULT_USER_PREFERENCES',),
}),
('Miscellaneous', {
'fields': ('MAINTENANCE_MODE', 'GRAPHQL_ENABLED', 'CHANGELOG_RETENTION', 'MAPS_URL'),
}),