1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

magic-removal: Fixed #1710 -- Removed unnecessary import from docs/tutorial04.txt

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-04-29 01:06:06 +00:00
parent c632b7a69d
commit f4eb6b118a

View File

@ -47,7 +47,7 @@ polls application that includes this line::
So let's create a ``vote()`` function in ``mysite/polls/views.py``::
from django.shortcuts import get_object_or_404, render_to_response
from django.http import Http404,HttpResponseRedirect
from django.http import HttpResponseRedirect
from mysite.polls.models import Choice, Poll
# ...
def vote(request, poll_id):