Loading docs/howto/static-files.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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>`:: Loading docs/releases/1.2.txt +2 −2 Original line number Diff line number Diff line Loading @@ -352,7 +352,7 @@ 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 ------------------------------------------------------- -------------------------------------------------------- As part of enhancements made to the handling of FormSets, the default value and interpretation of the ``max_num`` parameter to the Loading docs/topics/forms/modelforms.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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``:: Loading docs/topics/pagination.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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`. Loading Loading
docs/howto/static-files.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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>`:: Loading
docs/releases/1.2.txt +2 −2 Original line number Diff line number Diff line Loading @@ -352,7 +352,7 @@ 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 ------------------------------------------------------- -------------------------------------------------------- As part of enhancements made to the handling of FormSets, the default value and interpretation of the ``max_num`` parameter to the Loading
docs/topics/forms/modelforms.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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``:: Loading
docs/topics/pagination.txt +1 −1 Original line number Diff line number Diff line Loading @@ -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`. Loading