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

description A verbose description of the field, e.g. for the django.contrib.admindocs application.

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

Options.select_on_save Determines if Django will use the pre-1.6

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

Options.abstract If abstract = True, this model will be an abstract base class

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

Field.unique_for_month Like unique_for_date, but requires the field to be unique with respect to the month.

2025-01-10 15:47:30
db.models.functions.datetime.ExtractYear
  • References/Python/Django/API/Models/Database Functions

class ExtractYear(expression, tzinfo=None, **extra) [source] lookup_name

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

values(*fields) Returns a QuerySet that returns dictionaries, rather than model instances, when used as an iterable

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

Field.editable If False, the field will not be displayed in the admin or any other

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

prefetch_related(*lookups) Returns a QuerySet that will automatically retrieve, in a single batch, related objects

2025-01-10 15:47:30
db.models.Model.delete()
  • References/Python/Django/API/Models/Model instance reference

Model.delete(using=DEFAULT_DB_ALIAS, keep_parents=False) [source] Issues an SQL DELETE

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

GenericIPAddressField.protocol Limits valid inputs to the specified protocol. Accepted values are 'both' (default)

2025-01-10 15:47:30