瀏覽代碼

#10094 fix Contact AddAnother

Arthur 3 年之前
父節點
當前提交
41499b189c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      netbox/utilities/utils.py

+ 1 - 1
netbox/utilities/utils.py

@@ -285,7 +285,7 @@ def prepare_cloned_fields(instance):
     """
     # Generate the clone attributes from the instance
     if not hasattr(instance, 'clone'):
-        return QueryDict()
+        return QueryDict(mutable=True)
     attrs = instance.clone()
 
     # Prepare querydict parameters