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
Field.error_messages The error_messages argument lets you override the default messages that the field will raise
db_type(connection) [source] Returns the database column data type for the Field
annotate(*args, **kwargs) Annotates each object in the QuerySet with the provided list of query
Model.pk Regardless of whether you define a primary key field yourself, or let Django supply one for you, each model will have
class TruncMinute(expression, output_field=None, tzinfo=None, **extra) [source]
Field.related_model Points to the model the field relates to. For example, Author in ForeignKey(Author, on_delete=models
ManyToManyField.limit_choices_to Same as ForeignKey.limit_choices_to. li
Page 18 of 30