Change ID to PK

This commit is contained in:
dansheps 2019-03-13 14:02:23 -05:00
parent 95e868c8a9
commit 343dba4b66

View File

@ -71,7 +71,7 @@ class InterfaceManager(Manager):
sql_col = '{}.name'.format(self.model._meta.db_table)
ordering = [
'_slot', '_subslot', '_position', '_subposition', '_type', '_id', '_channel', '_vc', 'name', 'id'
'_slot', '_subslot', '_position', '_subposition', '_type', '_id', '_channel', '_vc', 'name', 'pk'
]