From 8e7d2d2e6824dc69fcfef8dc6467f6d874ddc9ee Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Wed, 12 May 2010 22:53:23 +0000 Subject: [PATCH] Fixed #13530: Corrected a handful of doc typos. Thanks Ramiro. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13247 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/howto/static-files.txt | 2 +- docs/releases/1.2.txt | 4 ++-- docs/topics/forms/modelforms.txt | 2 +- docs/topics/pagination.txt | 2 +- 4 files changed, 5 insertions(+), 5 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 `:: diff --git a/docs/releases/1.2.txt b/docs/releases/1.2.txt index 1d4e78f3c0..1ba411a122 100644 --- a/docs/releases/1.2.txt +++ b/docs/releases/1.2.txt @@ -351,8 +351,8 @@ people this shouldn't have been a problem because ``bool`` is a subclass of only time this should ever be an issue is if you were expecting printing the ``repr`` of a ``BooleanField`` to print ``1`` or ``0``. -Changes to the interpretation of``max_num`` in FormSets -------------------------------------------------------- +Changes to the interpretation of ``max_num`` in FormSets +-------------------------------------------------------- As part of enhancements made to the handling of FormSets, the default value and interpretation of the ``max_num`` parameter to the diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index c93527ce70..699a6ccaea 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -674,7 +674,7 @@ to ``modelformset_factory`` to limit the number of extra forms displayed. >>> [x.name for x in formset.get_queryset()] [u'Charles Baudelaire', u'Paul Verlaine', u'Walt Whitman'] -If the value of ``max_num`` is geater than the number of existing related +If the value of ``max_num`` is greater than the number of existing related objects, up to ``extra`` additional blank forms will be added to the formset, so long as the total number of forms does not exceed ``max_num``:: 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 ` by hand -- you'll get them using :meth:`Paginator.page`.