db.models.Field.db_tablespace
  • References/Python/Django/API/Models/Model field reference

Field.db_tablespace The name of the database tablespace to use for this field’s index, if this field

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

class SlugField(max_length=50, **options) [source] Slug

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

class BooleanField(**options) [source] A true/false field. The

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

class BigAutoField(**options) [source] New in

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

class NullBooleanField(**options) [source] Like a BooleanField, but allows NULL

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

Field.concrete Boolean flag that indicates if the field has a database column associated with it.

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

ManyToManyField.db_constraint Controls whether or not constraints should be created in the database for the foreign keys in

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

get_prep_value(value) [source] value is the current value of the model’s attribute

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

CharField.max_length The maximum length (in characters) of the field. The max_length is enforced at the database level and in

2025-01-10 15:47:30