Skip to content

Commit 7087522

Browse files
committed
Python: Move doc reference
1 parent e49c7d6 commit 7087522

File tree

1 file changed

+7
-5
lines changed
  • python/ql/src/experimental/semmle/python/frameworks

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,6 @@ private module Django {
273273

274274
/**
275275
* Gets a reference to the `django.db.models.expressions.RawSQL` class.
276-
*
277-
* See
278-
* - https://docs.djangoproject.com/en/3.1/topics/db/sql/#executing-custom-sql-directly
279-
* - https://docs.djangoproject.com/en/3.1/topics/db/sql/#connections-and-cursors
280276
*/
281277
DataFlow::Node classRef() { result = classRef(DataFlow::TypeTracker::end()) }
282278
}
@@ -285,7 +281,13 @@ private module Django {
285281
}
286282
}
287283

288-
/** A call to the `django.db.connection.cursor.execute` function. */
284+
/**
285+
* A call to the `django.db.connection.cursor.execute` function.
286+
*
287+
* See
288+
* - https://docs.djangoproject.com/en/3.1/topics/db/sql/#executing-custom-sql-directly
289+
* - https://docs.djangoproject.com/en/3.1/topics/db/sql/#connections-and-cursors
290+
*/
289291
private class DbConnectionExecute extends SqlExecution::Range, DataFlow::CfgNode {
290292
override CallNode node;
291293

0 commit comments

Comments
 (0)