1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Normalize ordering of cables by PK

This commit is contained in:
Jeremy Stretch
2018-11-02 11:27:26 -04:00
parent cefec1be60
commit cf9c8f35a0
2 changed files with 2 additions and 0 deletions

View File

@@ -2443,6 +2443,7 @@ class Cable(ChangeLoggedModel):
]
class Meta:
ordering = ['pk']
unique_together = (
('termination_a_type', 'termination_a_id'),
('termination_b_type', 'termination_b_id'),