mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#10094 fix Contact AddAnother
This commit is contained in:
@ -285,7 +285,7 @@ def prepare_cloned_fields(instance):
|
|||||||
"""
|
"""
|
||||||
# Generate the clone attributes from the instance
|
# Generate the clone attributes from the instance
|
||||||
if not hasattr(instance, 'clone'):
|
if not hasattr(instance, 'clone'):
|
||||||
return QueryDict()
|
return QueryDict(mutable=True)
|
||||||
attrs = instance.clone()
|
attrs = instance.clone()
|
||||||
|
|
||||||
# Prepare querydict parameters
|
# Prepare querydict parameters
|
||||||
|
Reference in New Issue
Block a user