Skip to content

Adding a FIELD_CHOICES doesn't work correctly. #14038

Answered by DanSheps
damo2929 asked this question in Help Wanted!
Discussion options

You must be logged in to vote

FIELD_CHOICES = {
'ipam.VLAN.status+': (
('planned' , 'Planned' , 'blue')
)
}

Try (comma at the end of the choices):

FIELD_CHOICES = {
    'ipam.VLAN.status+': (
        ('planned' , 'Planned' , 'blue'),
    )
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@damo2929
Comment options

@candlerb
Comment options

Answer selected by damo2929
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #14037 on October 13, 2023 19:36.