We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb70e0 commit 81fcc07Copy full SHA for 81fcc07
dojo/forms.py
@@ -781,7 +781,7 @@ class FindingTemplateForm(forms.ModelForm):
781
'invalid_choice': 'Select valid choice: Critical,High,Medium,Low'})
782
783
def __init__(self, *args, **kwargs):
784
- tags = Tag.objects.usage_for_model(Finding)
+ tags = Tag.objects.usage_for_model(Finding_Template)
785
t = [(tag.name, tag.name) for tag in tags]
786
super(FindingTemplateForm, self).__init__(*args, **kwargs)
787
self.fields['tags'].widget.choices = t
0 commit comments