summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2010-05-12 23:00:57 +0000
committerKaren Tracey <kmtracey@gmail.com>2010-05-12 23:00:57 +0000
commit2f8bb4ee317affa4f5d3bfbc56fb7a875a69bbd8 (patch)
tree7bef746af97c4206f101715ebc428c2ddff14f23
parent87fd4583c19e4f9ce3a49d2399cf86e02801a52e (diff)
[1.1.X] Fixed #13530: Corrected a handful of doc typos. Thanks Ramiro.
Merge of the applicable bits of r13247. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--docs/howto/static-files.txt2
-rw-r--r--docs/topics/pagination.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/static-files.txt b/docs/howto/static-files.txt
index 9e6511a743..f93a4e9ba4 100644
--- a/docs/howto/static-files.txt
+++ b/docs/howto/static-files.txt
@@ -40,7 +40,7 @@ How to do it
Here's the formal definition of the :func:`~django.views.static.serve` view:
-.. function:: def serve(request, path, document_root, show_indexes=False):
+.. function:: def serve(request, path, document_root, show_indexes=False)
To use it, just put this in your :ref:`URLconf <topics-http-urls>`::
diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt
index 4cb2fec565..70f087bd84 100644
--- a/docs/topics/pagination.txt
+++ b/docs/topics/pagination.txt
@@ -221,7 +221,7 @@ them both with a simple ``except InvalidPage``.
``Page`` objects
================
-.. class:: Page(object_list, number, paginator):
+.. class:: Page(object_list, number, paginator)
You usually won't construct :class:`Pages <Page>` by hand -- you'll get them
using :meth:`Paginator.page`.