#21662 Increase rf_channel_frequency Precision

This commit is contained in:
Arthur
2026-03-16 17:04:04 -07:00
parent 2f5543933e
commit 6292d2672f
2 changed files with 24 additions and 1 deletions
@@ -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)',
),
),
]
+1 -1
View File
@@ -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)'),