1
0
mirror of https://github.com/django/django.git synced 2025-01-08 17:37:20 +00:00

Fixed django.utils.httpwrappers call in docs/outputting_pdf.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-07-08 14:14:28 +00:00
parent 18eb7ecb13
commit 2eb492ba60

View File

@ -110,7 +110,7 @@ efficient. Here's the above "Hello World" example rewritten to use
from cStringIO import StringIO
from reportlab.pdfgen import canvas
from django.utils.httpwrappers import HttpResponse
from django.http import HttpResponse
def some_view(request):
# Create the HttpResponse object with the appropriate PDF headers.