mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-21 20:18:38 -06:00
#21662 Increase rf_channel_frequency Precision
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('dcim', '0228_cable_bundle'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='interface',
|
||||
name='rf_channel_frequency',
|
||||
field=models.DecimalField(
|
||||
blank=True,
|
||||
decimal_places=3,
|
||||
help_text='Populated by selected channel (if set)',
|
||||
max_digits=7,
|
||||
null=True,
|
||||
verbose_name='channel frequency (MHz)',
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -808,7 +808,7 @@ class Interface(
|
||||
)
|
||||
rf_channel_frequency = models.DecimalField(
|
||||
max_digits=7,
|
||||
decimal_places=2,
|
||||
decimal_places=3,
|
||||
blank=True,
|
||||
null=True,
|
||||
verbose_name=_('channel frequency (MHz)'),
|
||||
|
||||
Reference in New Issue
Block a user