class BigAutoField(**options) [source] New in
get_or_create(defaults=None, **kwargs) A convenience method for looking up an object with the given kwargs (may
class FileField(upload_to=None, max_length=100, **options) [source] A file-upload field.
class Upper(expression, **extra) [source] Accepts a single text field or expression and returns
Field.error_messages The error_messages argument lets you override the default messages that the field will raise
get_prep_value(value) [source] value is the current value of the model’s attribute
class Trunc(expression, kind, output_field=None, tzinfo=None, **extra) [source] Truncates
CharField.max_length The maximum length (in characters) of the field. The max_length is enforced at the database level and in
class FloatField(**options) [source] A floating-point number represented in Python by a float
Model.save(force_insert=False, force_update=False, using=DEFAULT_DB_ALIAS, update_fields=None) [source] If
Page 15 of 30