From ece8eb4d977ea2e44f831eebdcf0e05893c22bd9 Mon Sep 17 00:00:00 2001 From: Anders <6058745+ddabble@users.noreply.github.com> Date: Sat, 17 Feb 2024 23:32:22 +0100 Subject: [PATCH] test docs --- docs/historical_model.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/historical_model.rst b/docs/historical_model.rst index ff3c9703..c97d46ba 100644 --- a/docs/historical_model.rst +++ b/docs/historical_model.rst @@ -193,6 +193,7 @@ difference between a ``Manager`` and a ``QuerySet``, see `Django's Manager documentation`_. .. code-block:: python + from datetime import timedelta from django.db import models from django.utils import timezone @@ -224,6 +225,7 @@ see `Django's Manager documentation`_. To reuse a ``QuerySet`` from the model, see the following code example: .. code-block:: python + from datetime import timedelta from django.db import models from django.utils import timezone