Skip to content

Commit

Permalink
Fix docs code. This should be squashed.
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schilling authored Feb 13, 2024
1 parent 56242d3 commit 9acde80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/historical_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ To reuse a `QuerySet` from the model, see the following code example:
class Question(models.Model):
pub_date = models.DateTimeField('date published')
history = HistoricalRecords(historical_queryset=HistoryQuestionQuerySet)
manager = models.Manager.from_queryset(HistoryQuestionQuerySet)()
manager = models.Manager.from_queryset(QuestionQuerySet)()
.. _Manager documentation: https://docs.djangoproject.com/en/stable/topics/db/managers/

Expand Down

0 comments on commit 9acde80

Please sign in to comment.