Skip to content

Commit f800bf2

Browse files
committed
Python: Better text for getSourceType in Django
1 parent c6a69e1 commit f800bf2

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
@@ -2393,7 +2393,7 @@ private module Django {
23932393
}
23942394

23952395
override string getSourceType() {
2396-
result = "django.http.request.HttpRequest (attribute on self in View class)"
2396+
result = "django HttpRequest from self.request in View class"
23972397
}
23982398
}
23992399

@@ -2413,7 +2413,7 @@ private module Django {
24132413
}
24142414

24152415
override string getSourceType() {
2416-
result = "django routed param from attribute on self in View class"
2416+
result = "django routed param from self.args/kwargs in View class"
24172417
}
24182418
}
24192419

0 commit comments

Comments
 (0)