15764 change vc_position from PositiveSmallInteger to PositiveInteger

This commit is contained in:
Arthur
2024-04-19 09:05:16 -07:00
committed by Jeremy Stretch
parent 174865b9aa
commit 4b83b5d0e1
2 changed files with 19 additions and 2 deletions

View File

@@ -689,11 +689,10 @@ class Device(
blank=True,
null=True
)
vc_position = models.PositiveSmallIntegerField(
vc_position = models.PositiveIntegerField(
verbose_name=_('VC position'),
blank=True,
null=True,
validators=[MaxValueValidator(255)],
help_text=_('Virtual chassis position')
)
vc_priority = models.PositiveSmallIntegerField(