Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #17322 -- Added an example import statement to the HttpResponse…

… docs. Thanks, RoySmith

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fefbb66bac4097b99539e292f707cd67cf4cb86a 1 parent 913b39b
Adrian Holovaty authored December 17, 2011

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  docs/ref/request-response.txt
1  docs/ref/request-response.txt
@@ -536,6 +536,7 @@ Passing strings
536 536
 Typical usage is to pass the contents of the page, as a string, to the
537 537
 :class:`HttpResponse` constructor::
538 538
 
  539
+    >>> from django.http import HttpResponse
539 540
     >>> response = HttpResponse("Here's the text of the Web page.")
540 541
     >>> response = HttpResponse("Text only, please.", mimetype="text/plain")
541 542
 

0 notes on commit fefbb66

Please sign in to comment.
Something went wrong with that request. Please try again.