magic-removal: Oops.. this should have been committed in [1916].

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Joseph Kocherhans 2006-01-11 22:15:07 +00:00
parent 5aa3c38b1b
commit 02f03e7b93
1 changed files with 1 additions and 1 deletions

View File

@ -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)