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