db.models.Field.db_tablespace
  • References/Python/Django/API/Models/Model field reference

Field.db_tablespace The name of the database tablespace to use for this field’s index, if this field

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

FieldFile.size The result of the underlying

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

Options.app_label If a model is defined outside of an application in INSTALLED_APPS, it must declare which app

2025-01-10 15:47:30
db.models.F
  • References/Python/Django/API/Models/Query Expressions

class F [source] An F() object represents the value of a model field or annotated

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

select_related(*fields) Returns a QuerySet that will “follow” foreign-key relationships, selecting additional related-object

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

update_or_create(defaults=None, **kwargs) A convenience method for updating an object with the given kwargs, creating

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

class TimeField(auto_now=False, auto_now_add=False, **options) [source] A time, represented

2025-01-10 15:47:30
db.models.Expression.asc()
  • References/Python/Django/API/Models/Query Expressions

asc() Returns the expression ready to be sorted in ascending order.

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

Field.one_to_many Boolean flag that is True if the field has a one-to-many relation, such as a GenericRelation

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

class Variance(expression, sample=False, **extra) [source] Returns the variance of the data

2025-01-10 15:47:30