mirror of
https://github.com/ansible/awx.git
synced 2026-05-22 08:17:39 -02:30
Resolve default ordering warnings from tests
This commit is contained in:
@@ -98,6 +98,7 @@ class Instance(HasPolicyEditsMixin, BaseModel):
|
||||
|
||||
class Meta:
|
||||
app_label = 'main'
|
||||
ordering = ("hostname",)
|
||||
|
||||
POLICY_FIELDS = frozenset(('managed_by_policy', 'hostname', 'capacity_adjustment'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user