mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #33: Add ability to clone objects (pre-populate form fields)
This commit is contained in:
@@ -73,6 +73,9 @@ class Tenant(ChangeLoggedModel, CustomFieldModel):
|
||||
tags = TaggableManager(through=TaggedItem)
|
||||
|
||||
csv_headers = ['name', 'slug', 'group', 'description', 'comments']
|
||||
clone_fields = [
|
||||
'group', 'description',
|
||||
]
|
||||
|
||||
class Meta:
|
||||
ordering = ['group', 'name']
|
||||
|
Reference in New Issue
Block a user