DecimalField.decimal_places The number of decimal places to store with the number. For example
ManyToManyField.through_fields Only used when a custom intermediary model is specified. Django will normally determine which
FileField.upload_to This attribute provides a way of setting the upload directory and file name, and can be set in two ways
class DateField(auto_now=False, auto_now_add=False, **options) [source] A date, represented
CharField.max_length The maximum length (in characters) of the field. The max_length is enforced at the database level and in
value_to_string(obj) [source] Converts obj to a string. Used to serialize the
Field.hidden Boolean flag that indicates if a field is used to back another non-hidden field’s functionality (e.g. the
class ImageField(upload_to=None, height_field=None, width_field=None, max_length=100, **options) [source]
get_prep_value(value) [source] value is the current value of the model’s attribute
class BooleanField(**options) [source] A true/false field. The
Page 7 of 12