Ticket #13530: doc-typos.diff

File doc-typos.diff, 2.2 KB (added by Ramiro Morales, 14 years ago)
  • docs/howto/static-files.txt

    diff -r 84ec6befeb13 docs/howto/static-files.txt
    a b  
    4040
    4141Here's the formal definition of the :func:`~django.views.static.serve` view:
    4242
    43 .. function:: def serve(request, path, document_root, show_indexes=False):
     43.. function:: def serve(request, path, document_root, show_indexes=False)
    4444
    4545To use it, just put this in your :ref:`URLconf <topics-http-urls>`::
    4646
  • docs/releases/1.2.txt

    diff -r 84ec6befeb13 docs/releases/1.2.txt
    a b  
    351351only time this should ever be an issue is if you were expecting printing the
    352352``repr`` of a ``BooleanField`` to print ``1`` or ``0``.
    353353
    354 Changes to the interpretation of``max_num`` in FormSets
    355 -------------------------------------------------------
     354Changes to the interpretation of ``max_num`` in FormSets
     355--------------------------------------------------------
    356356
    357357As part of enhancements made to the handling of FormSets, the default
    358358value and interpretation of the ``max_num`` parameter to the
  • docs/topics/forms/modelforms.txt

    diff -r 84ec6befeb13 docs/topics/forms/modelforms.txt
    a b  
    674674    >>> [x.name for x in formset.get_queryset()]
    675675    [u'Charles Baudelaire', u'Paul Verlaine', u'Walt Whitman']
    676676
    677 If the value of ``max_num`` is geater than the number of existing related
     677If the value of ``max_num`` is greater than the number of existing related
    678678objects, up to ``extra`` additional blank forms will be added to the formset,
    679679so long as the total number of forms does not exceed ``max_num``::
    680680
  • docs/topics/pagination.txt

    diff -r 84ec6befeb13 docs/topics/pagination.txt
    a b  
    221221``Page`` objects
    222222================
    223223
    224 .. class:: Page(object_list, number, paginator):
     224.. class:: Page(object_list, number, paginator)
    225225
    226226You usually won't construct :class:`Pages <Page>` by hand -- you'll get them
    227227using :meth:`Paginator.page`.
Back to Top