Skip to content

Commit

Permalink
Restored django.db.models.F import in final code snippet added at the…
Browse files Browse the repository at this point in the history
… beginning of tutorial 4.
  • Loading branch information
EndoTaishi committed Mar 29, 2024
1 parent 5f3cdf2 commit 0df5209
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/intro/tutorial04.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0df5209

Please sign in to comment.