Ver Fonte

#10094 fix Contact AddAnother

Arthur há 3 anos atrás
pai
commit
f48aaf1c46
1 ficheiros alterados com 4 adições e 1 exclusões
  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
 
     #