mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Rename ContactAssignment.content_type to object_type
This commit is contained in:
@ -143,9 +143,9 @@ class ContactAssignmentForm(NetBoxModelForm):
|
||||
class Meta:
|
||||
model = ContactAssignment
|
||||
fields = (
|
||||
'content_type', 'object_id', 'group', 'contact', 'role', 'priority', 'tags'
|
||||
'object_type', 'object_id', 'group', 'contact', 'role', 'priority', 'tags'
|
||||
)
|
||||
widgets = {
|
||||
'content_type': forms.HiddenInput(),
|
||||
'object_type': forms.HiddenInput(),
|
||||
'object_id': forms.HiddenInput(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user