Skip to content

Commit 84ad45c

Browse files
committed
Python: Fix Django import
1 parent d127d21 commit 84ad45c

File tree

1 file changed

+2
-1
lines changed
  • python/ql/src/experimental/semmle/python/frameworks

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ private module ExperimentalPrivateDjango {
151151
*/
152152
class DjangoResponseSetCookieCall extends DataFlow::MethodCallNode, Cookie::Range {
153153
DjangoResponseSetCookieCall() {
154-
this.calls(django::http::response::HttpResponse::instance(), "set_cookie")
154+
this.calls(PrivateDjango::DjangoImpl::Http::Response::HttpResponse::instance(),
155+
"set_cookie")
155156
}
156157

157158
override DataFlow::Node getNameArg() {

0 commit comments

Comments
 (0)