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.
2 parents 473d520 + 81fcc07 commit c0f2907Copy full SHA for c0f2907
dojo/forms.py
@@ -823,7 +823,7 @@ class FindingTemplateForm(forms.ModelForm):
823
'invalid_choice': 'Select valid choice: Critical,High,Medium,Low'})
824
825
def __init__(self, *args, **kwargs):
826
- tags = Tag.objects.usage_for_model(Finding)
+ tags = Tag.objects.usage_for_model(Finding_Template)
827
t = [(tag.name, tag.name) for tag in tags]
828
super(FindingTemplateForm, self).__init__(*args, **kwargs)
829
self.fields['tags'].widget.choices = t
0 commit comments