class FileField(upload_to=None, max_length=100, **options) [source] A file-upload field.
resolve_expression(query=None, allow_joins=True, reuse=None, summarize=False, for_save=False) Provides the chance to do any
Model.refresh_from_db(using=None, fields=None) [source] If you need to reload a model’s values
get_or_create(defaults=None, **kwargs) A convenience method for looking up an object with the given kwargs (may
latest(field_name=None) Returns the latest object in the table, by date, using the field_name provided as the date
distinct(*fields) Returns a new QuerySet that uses SELECT DISTINCT in its SQL query. This eliminates
class DurationField(**options) [source] A field for storing periods of time - modeled in
get_internal_type() [source] Returns a string naming this field for backend specific purposes
class TruncHour(expression, output_field=None, tzinfo=None, **extra) [source]
ManyToManyField.db_constraint Controls whether or not constraints should be created in the database for the foreign keys in
Page 15 of 30