CodeQL library for Python
codeql/python-all 2.2.1-dev (changelog, source)
Search

Module PrivateDjango::DjangoImpl::DB::Models

Provides models for the django.db.models module.

Import path

import semmle.python.frameworks.Django

Predicates

expressions

Gets a reference to the django.db.models.expressions module.

manager

Gets a reference to the Manager (django.db.models.Manager) for the django Model modelClass, accessed by <modelClass>.objects.

querySet

Gets a reference to a QuerySet (django.db.models.query.QuerySet). modelClass specifies the django Model that this query-set originates from.

querySetReturningMethod

Gets a method with name that returns a QuerySet. This method can originate on a QuerySet or a Manager. modelClass specifies the django Model that this query-set originates from.

Modules

Expressions

Provides models for the django.db.models.expressions module.

FileField

Provides models for the django.db.models.FileField class and ImageField subclasses.

Model

Provides models for the django.db.models.Model class and subclasses.