Skip to content

Commit 81c78c8

Browse files
committed
had put dojo.User import on wrong file
Just occurred to me that possibly I should be using Dojo_User. Not sure if I tried it and it didn’t work or I never tried it. I’ll have to look at that later
1 parent fbc2bda commit 81c78c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dojo/finding/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
DeleteFindingTemplateForm, FindingImageFormSet, JIRAFindingForm, ReviewFindingForm, ClearFindingReviewForm
2727
from dojo.models import Product_Type, Finding, Notes, \
2828
Risk_Acceptance, BurpRawRequestResponse, Stub_Finding, Endpoint, Finding_Template, FindingImage, \
29-
FindingImageAccessToken, JIRA_Issue, JIRA_PKey, JIRA_Conf, Dojo_User, User
29+
FindingImageAccessToken, JIRA_Issue, JIRA_PKey, JIRA_Conf, Dojo_User
3030
from dojo.utils import get_page_items, add_breadcrumb, FileIterWrapper, send_review_email, process_notifications
3131
from dojo.tasks import add_issue_task, update_issue_task, add_comment_task
3232

dojo/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from pytz import timezone
1818
from jira import JIRA
1919
from dojo.models import Finding, Scan, Test, Engagement, Stub_Finding, Finding_Template, Report, \
20-
Product, JIRA_PKey, JIRA_Issue, Dojo_User
20+
Product, JIRA_PKey, JIRA_Issue, Dojo_User, User
2121

2222
localtz = timezone(settings.TIME_ZONE)
2323

0 commit comments

Comments
 (0)