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:
parent
18eb7ecb13
commit
2eb492ba60
|
@ -110,7 +110,7 @@ efficient. Here's the above "Hello World" example rewritten to use
|
||||||
|
|
||||||
from cStringIO import StringIO
|
from cStringIO import StringIO
|
||||||
from reportlab.pdfgen import canvas
|
from reportlab.pdfgen import canvas
|
||||||
from django.utils.httpwrappers import HttpResponse
|
from django.http import HttpResponse
|
||||||
|
|
||||||
def some_view(request):
|
def some_view(request):
|
||||||
# Create the HttpResponse object with the appropriate PDF headers.
|
# Create the HttpResponse object with the appropriate PDF headers.
|
||||||
|
|
Loading…
Reference in New Issue