Sfoglia il codice sorgente

#10094 fix Contact AddAnother

Arthur 3 anni fa
parent
commit
f48aaf1c46
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  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
         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
         return params
 
 
     #
     #