[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
This commit is contained in:
parent
87fd4583c1
commit
2f8bb4ee31
|
@ -40,7 +40,7 @@ How to do it
|
||||||
|
|
||||||
Here's the formal definition of the :func:`~django.views.static.serve` view:
|
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>`::
|
To use it, just put this in your :ref:`URLconf <topics-http-urls>`::
|
||||||
|
|
||||||
|
|
|
@ -221,7 +221,7 @@ them both with a simple ``except InvalidPage``.
|
||||||
``Page`` objects
|
``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
|
You usually won't construct :class:`Pages <Page>` by hand -- you'll get them
|
||||||
using :meth:`Paginator.page`.
|
using :meth:`Paginator.page`.
|
||||||
|
|
Loading…
Reference in New Issue