mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Remove unnecessary ordering column
This commit is contained in:
parent
9a911f8317
commit
375b5aaef9
@ -47,7 +47,7 @@ class Migration(migrations.Migration):
|
|||||||
],
|
],
|
||||||
options={
|
options={
|
||||||
'verbose_name': 'VLAN translation rule',
|
'verbose_name': 'VLAN translation rule',
|
||||||
'ordering': ('policy', 'local_vid', 'remote_vid'),
|
'ordering': ('policy', 'local_vid',),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
migrations.AddConstraint(
|
migrations.AddConstraint(
|
||||||
|
@ -318,7 +318,7 @@ class VLANTranslationRule(NetBoxModel):
|
|||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = _('VLAN translation rule')
|
verbose_name = _('VLAN translation rule')
|
||||||
ordering = ('policy', 'local_vid', 'remote_vid',)
|
ordering = ('policy', 'local_vid',)
|
||||||
constraints = (
|
constraints = (
|
||||||
models.UniqueConstraint(
|
models.UniqueConstraint(
|
||||||
fields=('policy', 'local_vid'),
|
fields=('policy', 'local_vid'),
|
||||||
|
@ -260,7 +260,6 @@ class VLANTranslationPolicyTable(NetBoxTable):
|
|||||||
)
|
)
|
||||||
description = tables.Column(
|
description = tables.Column(
|
||||||
verbose_name=_('Description'),
|
verbose_name=_('Description'),
|
||||||
# linkify=True
|
|
||||||
)
|
)
|
||||||
tags = columns.TagColumn(
|
tags = columns.TagColumn(
|
||||||
url_name='ipam:vlantranslationpolicy_list'
|
url_name='ipam:vlantranslationpolicy_list'
|
||||||
|
Loading…
Reference in New Issue
Block a user