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:
parent
c632b7a69d
commit
f4eb6b118a
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user