Changeset 9054
- Timestamp:
- 09/17/08 00:18:41 (4 months ago)
- Files:
-
- django/trunk/docs/ref/request-response.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/ref/request-response.txt
r9044 r9054 434 434 it's easy to forget the syntax, so we've included it here. 435 435 436 Attributes 437 ---------- 438 439 .. attribute:: HttpResponse.content 440 441 A normal Python string representing the content, encoded from a Unicode 442 object if necessary. 443 436 444 Methods 437 445 ------- … … 503 511 deleted. 504 512 505 .. method:: HttpResponse.content()506 507 Returns the content as a Python string, encoding it from a Unicode object508 if necessary. Note this is a property, not a method, so use ``r.content``509 instead of ``r.content()``.510 511 513 .. method:: HttpResponse.write(content) 512 514
