Skip to content

Commit c0f2907

Browse files
authored
Merge pull request #344 from no-sec-marko/issue_338
fix #338 missing tags in Template
2 parents 473d520 + 81fcc07 commit c0f2907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dojo/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ class FindingTemplateForm(forms.ModelForm):
823823
'invalid_choice': 'Select valid choice: Critical,High,Medium,Low'})
824824

825825
def __init__(self, *args, **kwargs):
826-
tags = Tag.objects.usage_for_model(Finding)
826+
tags = Tag.objects.usage_for_model(Finding_Template)
827827
t = [(tag.name, tag.name) for tag in tags]
828828
super(FindingTemplateForm, self).__init__(*args, **kwargs)
829829
self.fields['tags'].widget.choices = t

0 commit comments

Comments
 (0)