mirror of
https://github.com/django/django.git
synced 2025-07-16 15:49:12 +00:00
[3.1.x] Removed unused import in docs/ref/models/expressions.txt.
Backport of fdc3d9dcaf87fb0a1350154561053faa331c3b69 from master
This commit is contained in:
parent
1dd159f16e
commit
fdbcbc3081
@ -876,7 +876,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…
x
Reference in New Issue
Block a user