Skip to content
Discussion options

You must be logged in to vote

There is a concrete example of this in the Interface wifi attributes, in netbox/dcim/models/device_components.py

    rf_channel = models.CharField(
        max_length=50,
        choices=WirelessChannelChoices,
        blank=True,
        verbose_name=_('wireless channel')
    )
    rf_channel_frequency = models.DecimalField(
        max_digits=7,
        decimal_places=2,
        blank=True,
        null=True,
        verbose_name=_('channel frequency (MHz)'),
        help_text=_("Populated by selected channel (if set)")
    )
    rf_channel_width = models.DecimalField(
        max_digits=7,
        decimal_places=3,
        blank=True,
        null=True,
        verbose_name=('channel w…

Replies: 1 comment 2 replies

Comment options

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

Answer selected by geckigek
@geckigek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants