Skip to content
Discussion options

You must be logged in to vote

There used to be a separate model for custom field choices. This has now been collapsed, so a single CustomField model contains all the data about that custom field. Within that model, a single field choices contains a comma-separated list of choice values.

I believe that the choices will be displayed in the order that you put them in that list - which makes the weights redundant, as weights were purely for sorting the list. Now you just give the list in whatever order you want.

Does your experience show that is not the case? What Netbox version are you running?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@saeedhmt
Comment options

@candlerb
Comment options

@saeedhmt
Comment options

Answer selected by ryanmerolle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants