class Trunc(expression, kind, output_field=None, tzinfo=None, **extra) [source] Truncates
Field.hidden Boolean flag that indicates if a field is used to back another non-hidden field’s functionality (e.g. the
FileField.upload_to This attribute provides a way of setting the upload directory and file name, and can be set in two ways
get_source_expressions() Returns an ordered list of inner expressions. For example:
Field.db_index If True, a database index will be created for this field.
aggregate(*args, **kwargs) Returns a dictionary of aggregate values (averages, sums, etc.) calculated over the QuerySet
desc() Returns the expression ready to be sorted in descending order.
FieldFile.url A read-only property to access the file’s relative URL by calling the
class FloatField(**options) [source] A floating-point number represented in Python by a float
convert_value(self, value, expression, connection, context) A hook allowing the expression to coerce value into
Page 13 of 30