Просмотр исходного кода

Remove stale comment in RegisteredActionsWidget

Jason Novinger 1 день назад
Родитель
Сommit
f4b111dd8a
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      netbox/utilities/forms/widgets/actions.py

+ 0 - 1
netbox/utilities/forms/widgets/actions.py

@@ -20,7 +20,6 @@ class RegisteredActionsWidget(forms.CheckboxSelectMultiple):
     def get_context(self, name, value, attrs):
     def get_context(self, name, value, attrs):
         context = super().get_context(name, value, attrs)
         context = super().get_context(name, value, attrs)
 
 
-        # Build model_actions with labels for v2 template
         model_actions_with_labels = {}
         model_actions_with_labels = {}
         for model_key, actions in self.model_actions.items():
         for model_key, actions in self.model_actions.items():
             app_label, model_name = model_key.split('.')
             app_label, model_name = model_key.split('.')