Skip to content

Commit a23d8de

Browse files
authored
Merge pull request github#5483 from RasmusWL/minor-fixup-django
Python: Better text for getSourceType in Django
2 parents 20416ae + f800bf2 commit a23d8de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/src/semmle/python/frameworks/Django.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2660,7 +2660,7 @@ private module Django {
26602660
}
26612661

26622662
override string getSourceType() {
2663-
result = "django.http.request.HttpRequest (attribute on self in View class)"
2663+
result = "django HttpRequest from self.request in View class"
26642664
}
26652665
}
26662666

@@ -2680,7 +2680,7 @@ private module Django {
26802680
}
26812681

26822682
override string getSourceType() {
2683-
result = "django routed param from attribute on self in View class"
2683+
result = "django routed param from self.args/kwargs in View class"
26842684
}
26852685
}
26862686

0 commit comments

Comments
 (0)