mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-19 03:42:25 -06:00
Initial work on contacts
This commit is contained in:
19
netbox/tenancy/choices.py
Normal file
19
netbox/tenancy/choices.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from utilities.choices import ChoiceSet
|
||||
|
||||
|
||||
#
|
||||
# Contacts
|
||||
#
|
||||
|
||||
class ContactPriorityChoices(ChoiceSet):
|
||||
PRIORITY_PRIMARY = 'primary'
|
||||
PRIORITY_SECONDARY = 'secondary'
|
||||
PRIORITY_TERTIARY = 'tertiary'
|
||||
PRIORITY_INACTIVE = 'inactive'
|
||||
|
||||
CHOICES = (
|
||||
(PRIORITY_PRIMARY, 'Primary'),
|
||||
(PRIORITY_SECONDARY, 'Secondary'),
|
||||
(PRIORITY_TERTIARY, 'Tertiary'),
|
||||
(PRIORITY_INACTIVE, 'Inactive'),
|
||||
)
|
||||
Reference in New Issue
Block a user