class ExpressionWrapper(expression, output_field)
[source]
ExpressionWrapper
simply surrounds another expression and provides access to properties, such as output_field
, that may not be available on other expressions. ExpressionWrapper
is necessary when using arithmetic on F()
expressions with different types as described in Using F() with annotations.
Please login to continue.