mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
21 lines
390 B
Python
21 lines
390 B
Python
from users.preferences import UserPreference
|
|
|
|
|
|
preferences = {
|
|
'pref1': UserPreference(
|
|
label='First preference',
|
|
choices=(
|
|
('foo', 'Foo'),
|
|
('bar', 'Bar'),
|
|
)
|
|
),
|
|
'pref2': UserPreference(
|
|
label='Second preference',
|
|
choices=(
|
|
('a', 'A'),
|
|
('b', 'B'),
|
|
('c', 'C'),
|
|
)
|
|
),
|
|
}
|