Skip to content

Commit

Permalink
Fixed typo in docs/ref/models/expressions.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign authored and timgraham committed Dec 5, 2017
1 parent 87c76aa commit 3cc08f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/models/expressions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ to reduce repetition::
>>> from django.db.models import Avg, F, Max, Min, Window
>>> from django.db.models.functions import ExtractYear
>>> window = {
>>> 'partition': [F('studio'), F('genre')],
>>> 'partition_by': [F('studio'), F('genre')],
>>> 'order_by': ExtractYear('released').asc(),
>>> }
>>> Movie.objects.annotate(
Expand Down

0 comments on commit 3cc08f4

Please sign in to comment.