From 0df520979a5677baf9ed2801ed5c38f859edaa4d Mon Sep 17 00:00:00 2001 From: Taishi Endo <82435332+EndoTaishi@users.noreply.github.com> Date: Sat, 30 Mar 2024 00:33:08 +0900 Subject: [PATCH] Restored django.db.models.F import in final code snippet added at the beginning of tutorial 4. --- docs/intro/tutorial04.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/intro/tutorial04.txt b/docs/intro/tutorial04.txt index e6ec6895fe..149b01f338 100644 --- a/docs/intro/tutorial04.txt +++ b/docs/intro/tutorial04.txt @@ -272,6 +272,7 @@ views and use Django's generic views instead. To do so, open the .. code-block:: python :caption: ``polls/views.py`` + from django.db.models import F from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse