diff options
Diffstat (limited to 'docs/tutorial04.txt')
| -rw-r--r-- | docs/tutorial04.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt index 5f6537cdc0..eccf13d647 100644 --- a/docs/tutorial04.txt +++ b/docs/tutorial04.txt @@ -48,7 +48,7 @@ included this line:: So let's create a ``vote()`` function in ``myproject/polls/views.py``:: - from django.core.extensions import get_object_or_404, render_to_response + from django.shortcuts import get_object_or_404, render_to_response from django.models.polls import choices, polls from django.http import HttpResponseRedirect |
