mirror of https://github.com/django/django.git
Removed unused import in docs/ref/models/expressions.txt. (#13879)
This commit is contained in:
parent
64331419c8
commit
fdc3d9dcaf
|
@ -890,7 +890,7 @@ values of an expression in the partition. If the ``released`` field of the
|
|||
example annotates each movie with the average rating of a movie's peers
|
||||
released between twelve months before and twelve months after the each movie.
|
||||
|
||||
>>> from django.db.models import Avg, ExpressionList, F, ValueRange, Window
|
||||
>>> from django.db.models import Avg, F, ValueRange, Window
|
||||
>>> Movie.objects.annotate(
|
||||
>>> avg_rating=Window(
|
||||
>>> expression=Avg('rating'),
|
||||
|
|
Loading…
Reference in New Issue