Author: adrian
Date: 2008-09-17 00:18:41 -0500 (Wed, 17 Sep 2008)
New Revision: 9054

Modified:
   django/trunk/docs/ref/request-response.txt
Log:
Fixed #8546 -- Fixed error in request-response.txt where we were incorrectly 
listing HttpResponse.content() in the 'Methods' section instead of the 
'Attributes' section. Thanks, schmichael

Modified: django/trunk/docs/ref/request-response.txt
===================================================================
--- django/trunk/docs/ref/request-response.txt  2008-09-17 05:12:53 UTC (rev 
9053)
+++ django/trunk/docs/ref/request-response.txt  2008-09-17 05:18:41 UTC (rev 
9054)
@@ -433,6 +433,14 @@
 There's nothing Django-specific about the ``Content-Disposition`` header, but
 it's easy to forget the syntax, so we've included it here.
 
+Attributes
+----------
+
+.. attribute:: HttpResponse.content
+
+    A normal Python string representing the content, encoded from a Unicode
+    object if necessary.
+
 Methods
 -------
 
@@ -502,12 +510,6 @@
     values you used in ``set_cookie()`` -- otherwise the cookie may not be
     deleted.
 
-.. method:: HttpResponse.content()
-
-    Returns the content as a Python string, encoding it from a Unicode object
-    if necessary. Note this is a property, not a method, so use ``r.content``
-    instead of ``r.content()``.
-
 .. method:: HttpResponse.write(content)
 
     This method makes an :class:`HttpResponse` instance a file-like object.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to