db.models.FilePathField.recursive
  • References/Python/Django/API/Models/Model field reference

FilePathField.recursive Optional. Either True or False. Default is False. Specifies whether

2025-01-10 15:47:30
db.models.query.QuerySet.annotate()
  • References/Python/Django/API/Models/QuerySet API reference

annotate(*args, **kwargs) Annotates each object in the QuerySet with the provided list of query

2025-01-10 15:47:30
db.models.Min
  • References/Python/Django/API/Models/QuerySet API reference

class Min(expression, output_field=None, **extra) [source] Returns the minimum value of the

2025-01-10 15:47:30
db.models.query.QuerySet.defer()
  • References/Python/Django/API/Models/QuerySet API reference

defer(*fields) In some complex data-modeling situations, your models might contain a lot of fields, some of which could contain

2025-01-10 15:47:30
db.models.ManyToManyField
  • References/Python/Django/API/Models/Model field reference

class ManyToManyField(othermodel, **options) [source] A many-to-many relationship. Requires

2025-01-10 15:47:30
db.models.query.QuerySet.iterator()
  • References/Python/Django/API/Models/QuerySet API reference

iterator() Evaluates the QuerySet (by performing the query) and returns an iterator (see

2025-01-10 15:47:30
db.models.ManyToManyField.limit_choices_to
  • References/Python/Django/API/Models/Model field reference

ManyToManyField.limit_choices_to Same as ForeignKey.limit_choices_to. li

2025-01-10 15:47:30
db.models.Count.distinct
  • References/Python/Django/API/Models/QuerySet API reference

distinct If distinct=True, the count will only include unique instances. This is the SQL equivalent of COUNT(DISTINCT

2025-01-10 15:47:30
db.models.Field.model
  • References/Python/Django/API/Models/Model field reference

Field.model Returns the model on which the field is defined. If a field is defined on a superclass of a model, model

2025-01-10 15:47:30
db.models.Options.ordering
  • References/Python/Django/API/Models/Model Meta options

Options.ordering The default ordering for the object, for use when obtaining lists of objects:

2025-01-10 15:47:30