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

#9414: Clean up clone_fields on all models

This commit is contained in:
jeremystretch
2022-08-11 09:58:37 -04:00
parent c1d9cace11
commit 8cd5a24409
14 changed files with 58 additions and 52 deletions

View File

@@ -125,9 +125,9 @@ class Circuit(NetBoxModel):
null=True
)
clone_fields = [
clone_fields = (
'provider', 'type', 'status', 'tenant', 'install_date', 'termination_date', 'commit_rate', 'description',
]
)
class Meta:
ordering = ['provider', 'cid']

View File

@@ -61,9 +61,9 @@ class Provider(NetBoxModel):
to='tenancy.ContactAssignment'
)
clone_fields = [
clone_fields = (
'asn', 'account', 'portal_url', 'noc_contact', 'admin_contact',
]
)
class Meta:
ordering = ['name']