1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed unused import in docs/ref/models/expressions.txt. (#13879)

This commit is contained in:
Mariusz Felisiak
2021-01-12 10:51:38 +01:00
committed by GitHub
parent 64331419c8
commit fdc3d9dcaf

View File

@@ -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'),