Explorar o código

#10094 fix Contact AddAnother

Arthur %!s(int64=3) %!d(string=hai) anos
pai
achega
f48aaf1c46
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      netbox/netbox/views/generic/object_views.py

+ 4 - 1
netbox/netbox/views/generic/object_views.py

@@ -327,7 +327,10 @@ class ObjectEditView(GetReturnURLMixin, BaseObjectView):
         """
         return obj
 
-    def get_extra_addanother_params(self, request, params: dict):
+    def get_extra_addanother_params(self, request, params):
+        """
+        Return a QueryDict of extra params to use on the Add Another button.
+        """
         return params
 
     #