db.models.fields.files.FieldFile.name
  • References/Python/Django/API/Models/Model field reference

FieldFile.name The name of the file including the relative path from the root of the

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

CASCADE [source] Cascade deletes. Django emulates the behavior of the SQL constraint ON DELETE

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

ImageField.width_field Name of a model field which will be auto-populated with the width of the image each time the model instance

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

Field.is_relation Boolean flag that indicates if a field contains references to one or more other models for its functionality

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