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

Field.auto_created Boolean flag that indicates if the field was automatically created, such as the OneToOneField

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

Field.help_text Extra “help” text to be displayed with the form widget. It’s useful for documentation even if your field isn’t

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.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.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