From 9acde8065c857e7482f1a7376128ced19d7b64e1 Mon Sep 17 00:00:00 2001 From: Tim Schilling Date: Tue, 13 Feb 2024 14:50:58 -0600 Subject: [PATCH] Fix docs code. This should be squashed. --- docs/historical_model.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/historical_model.rst b/docs/historical_model.rst index a149c4ea..fdbe339a 100644 --- a/docs/historical_model.rst +++ b/docs/historical_model.rst @@ -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/