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