Skip to content

Commit 5572361

Browse files
RasmusWLtausbn
andauthored
Python: Apply suggestions from code review
Co-authored-by: Taus <[email protected]>
1 parent 8347743 commit 5572361

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ private import semmle.python.regex
1616
* Provides models for the `django` PyPI package.
1717
* See https://www.djangoproject.com/.
1818
*/
19-
module Django {
19+
private module Django {
2020
/** Provides models for the `django.views` module */
2121
module Views {
2222
/**
@@ -28,7 +28,7 @@ module Django {
2828
*/
2929
module View {
3030
/**
31-
* An `API::Node` for references to `django.views.generic.View` or any subclass
31+
* An `API::Node` representing the `django.views.generic.View` class or any subclass
3232
* that has explicitly been modeled in the CodeQL libraries.
3333
*/
3434
abstract class ModeledSubclass extends API::Node {
@@ -94,7 +94,7 @@ module Django {
9494
*/
9595
module Form {
9696
/**
97-
* An `API::Node` for references to `django.forms.forms.BaseForm` or any subclass
97+
* An `API::Node` representing the `django.forms.forms.BaseForm` class or any subclass
9898
* that has explicitly been modeled in the CodeQL libraries.
9999
*/
100100
abstract class ModeledSubclass extends API::Node {
@@ -190,7 +190,7 @@ module Django {
190190
*/
191191
module Field {
192192
/**
193-
* An `API::Node` for references to `django.forms.fields.Field` or any subclass
193+
* An `API::Node` representing the `django.forms.fields.Field` class or any subclass
194194
* that has explicitly been modeled in the CodeQL libraries.
195195
*/
196196
abstract class ModeledSubclass extends API::Node {

0 commit comments

Comments
 (0)