Made F deconstruction omit 'expressions' in the path.

This commit is contained in:
Adam Johnson 2021-02-25 09:52:59 +00:00 committed by Mariusz Felisiak
parent 8806e8809e
commit 45f48ed4f7
2 changed files with 2 additions and 2 deletions

View file

@ -578,7 +578,7 @@ class TemporalSubtraction(CombinedExpression):
return connection.ops.subtract_temporals(self.lhs.output_field.get_internal_type(), lhs, rhs)
@deconstructible
@deconstructible(path='django.db.models.F')
class F(Combinable):
"""An object capable of resolving references to existing query objects."""