diff --git a/docs/tutorial04.txt b/docs/tutorial04.txt index f6a0abb6d1..5f6537cdc0 100644 --- a/docs/tutorial04.txt +++ b/docs/tutorial04.txt @@ -50,7 +50,7 @@ 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.models.polls import choices, polls - from django.utils.httpwrappers import HttpResponseRedirect + from django.http import HttpResponseRedirect def vote(request, poll_id): p = get_object_or_404(polls, pk=poll_id)