diff options
| author | Taishi Endo <82435332+EndoTaishi@users.noreply.github.com> | 2024-03-30 00:33:08 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-29 12:33:08 -0300 |
| commit | 0df520979a5677baf9ed2801ed5c38f859edaa4d (patch) | |
| tree | 98706ed4edb5e5216144794d278e04f5154634cf /docs/intro/tutorial04.txt | |
| parent | 5f3cdf219de71021cc5b965695dbe0c881c0a4f1 (diff) | |
Restored django.db.models.F import in final code snippet added at the beginning of tutorial 4.
Diffstat (limited to 'docs/intro/tutorial04.txt')
| -rw-r--r-- | docs/intro/tutorial04.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
