Skip to content

Commit

Permalink
Merge pull request #92 from dabapps/fix-pairs-annotate-docs
Browse files Browse the repository at this point in the history
Correct pairs docs
  • Loading branch information
j4mie authored Jan 10, 2024
2 parents c35ad64 + 15e2cf3 commit 14040ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/pairs.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ For example:
from django.db.models.functions import ExtractYear
from django_readers import pairs

prepare, project = pairs.annotate(
prepare, produce = pairs.annotate(
publication_year=ExtractYear("publication_date"),
)
queryset = prepare(Book.objects.all())
Expand Down

0 comments on commit 14040ca

Please sign in to comment.