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.SET_NULL
  • References/Python/Django/API/Models/Model field reference

SET_NULL [source] Set the ForeignKey null; this is only possible if null

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

class FilePathField(path=None, match=None, recursive=False, max_length=100, **options) [source] A

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

ForeignKey.swappable Controls the migration framework’s reaction if this ForeignKey is pointing at a swappable

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

DateField.auto_now_add Automatically set the field to now when the object is first created. Useful for creation of timestamps

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

Field.null If True, Django will store empty values as NULL in the database. Default is False

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

ForeignKey.related_name The name to use for the relation from the related object back to this one. It’s also the default value

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

ForeignKey.on_delete When an object referenced by a ForeignKey is deleted, Django will emulate the behavior of

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

class BigIntegerField(**options) [source] A 64-bit integer, much like an IntegerField

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

ForeignKey.related_query_name The name to use for the reverse filter name from the target model. It defaults to the value of

2025-01-10 15:47:30