diff options
| author | Collin Anderson <collin@onetencommunications.com> | 2014-08-01 21:32:53 -0400 |
|---|---|---|
| committer | Erik Romijn <eromijn@solidlinks.nl> | 2014-08-02 10:17:45 +0200 |
| commit | e075d2e66baae98c5b5c06bff384665ab50e0223 (patch) | |
| tree | bb6b7d2f1a5e87726313a0d6d357713d920c7ccd /docs/intro/tutorial04.txt | |
| parent | 8f9d6e83a005901bc2a368a28017ee52a8c081f8 (diff) | |
Fixed #23148 -- Minor tweaks in tutorial code samples
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 51cc34a30f..48e38bf159 100644 --- a/docs/intro/tutorial04.txt +++ b/docs/intro/tutorial04.txt @@ -72,6 +72,7 @@ create a real version. Add the following to ``polls/views.py``: from django.shortcuts import get_object_or_404, render from django.http import HttpResponseRedirect, HttpResponse from django.core.urlresolvers import reverse + from polls.models import Choice, Question # ... def vote(request, question_id): |
