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

GenericIPAddressField.unpack_ipv4 Unpacks IPv4 mapped addresses like ::ffff:192.0.2.1. If this option is enabled

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

class TimeField(auto_now=False, auto_now_add=False, **options) [source] A time, represented

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

ForeignKey.db_constraint Controls whether or not a constraint should be created in the database for this foreign key. The default

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

formfield(form_class=None, choices_form_class=None, **kwargs) [source] Returns the default

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

pre_save(model_instance, add) [source] Method called prior to get_db_prep_save()

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

rel_db_type(connection) [source] New in Django

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

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

2025-01-10 15:47:30