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

class GenericIPAddressField(protocol='both', unpack_ipv4=False, **options) [source] An IPv4

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

class FieldFile [source] When you access a FileField on a model, you are given

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

ImageField.height_field Name of a model field which will be auto-populated with the height of the image each time the model

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

SET() [source] Set the ForeignKey to the value passed to SET()

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

FieldFile.save(name, content, save=True) [source] This method takes a filename and file contents

2025-01-10 15:47:30