Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed inevitable ReST bugs in [592]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 8da42a8b68698b57931f8c5db1247f47d70da009 1 parent b483f66
Adrian Holovaty authored September 01, 2005

Showing 1 changed file with 3 additions and 5 deletions. Show diff stats Hide diff stats

  1. 8  docs/request_response.txt
8  docs/request_response.txt
@@ -261,7 +261,7 @@ Methods
261 261
     header with the given name.
262 262
 
263 263
 ``set_cookie(key, value='', max_age=None, path='/', domain=None, secure=None)``
264  
-    Sets a cookie. The parameters are the same as in the `Cookie.Morsel`_
  264
+    Sets a cookie. The parameters are the same as in the `cookie Morsel`_
265 265
     object in the Python standard library.
266 266
 
267 267
         * ``max_age`` should be a number of seconds, or ``None`` (default) if
@@ -272,15 +272,13 @@ Methods
272 272
           calendars.lawrence.com. Otherwise, a cookie will only be readable by
273 273
           the domain that set it.
274 274
 
275  
-    .. _`Cookie.Morsel object`: http://www.python.org/doc/current/lib/morsel-objects.html
  275
+    .. _`cookie Morsel`: http://www.python.org/doc/current/lib/morsel-objects.html
276 276
 
277 277
 ``get_content_as_string(encoding)``
278 278
     Returns the content as a Python string, encoding it from a Unicode object
279 279
     if necessary.
280 280
 
281  
-``write(content)``
282  
-``flush()``
283  
-``tell()``
  281
+``write(content)``, ``flush()`` and ``tell()``
284 282
     These methods make an ``HttpResponse`` instance a file-like object.
285 283
 
286 284
 HttpResponse subclasses

0 notes on commit 8da42a8

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