Django

Code

Changeset 9054

Show
Ignore:
Timestamp:
09/17/08 00:18:41 (4 months ago)
Author:
adrian
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/ref/request-response.txt

    r9044 r9054  
    434434it's easy to forget the syntax, so we've included it here. 
    435435 
     436Attributes 
     437---------- 
     438 
     439.. attribute:: HttpResponse.content 
     440 
     441    A normal Python string representing the content, encoded from a Unicode 
     442    object if necessary. 
     443 
    436444Methods 
    437445------- 
     
    503511    deleted. 
    504512 
    505 .. method:: HttpResponse.content() 
    506  
    507     Returns the content as a Python string, encoding it from a Unicode object 
    508     if necessary. Note this is a property, not a method, so use ``r.content`` 
    509     instead of ``r.content()``. 
    510  
    511513.. method:: HttpResponse.write(content) 
    512514