Fixed #14727 -- Corrected three minor issues in the docs. Thanks to OldTroll for the report and the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Gabriel Hurley 2010-11-20 10:49:42 +00:00
parent 7ff5580d95
commit a56e47400f
3 changed files with 3 additions and 4 deletions

View File

@ -4,7 +4,7 @@ Database access optimization
Django's database layer provides various ways to help developers get the most Django's database layer provides various ways to help developers get the most
out of their databases. This document gathers together links to the relevant out of their databases. This document gathers together links to the relevant
documentation, and adds various tips, organized under an number of headings that documentation, and adds various tips, organized under a number of headings that
outline the steps to take when attempting to optimize your database usage. outline the steps to take when attempting to optimize your database usage.
Profile first Profile first

View File

@ -363,8 +363,7 @@ attributes:
``'image/jpeg'``. ``'image/jpeg'``.
``content_length`` is the length of the image given by the browser. ``content_length`` is the length of the image given by the browser.
Sometimes this won't be provided and will be ``None``., ``None`` Sometimes this won't be provided and will be ``None``.
otherwise.
``charset`` is the character set (i.e. ``utf8``) given by the browser. ``charset`` is the character set (i.e. ``utf8``) given by the browser.
Like ``content_length``, this sometimes won't be provided. Like ``content_length``, this sometimes won't be provided.

View File

@ -809,7 +809,7 @@ This ``current_app`` argument is used as a hint to resolve application
namespaces into URLs on specific application instances, according to the namespaces into URLs on specific application instances, according to the
:ref:`namespaced URL resolution strategy <topics-http-reversing-url-namespaces>`. :ref:`namespaced URL resolution strategy <topics-http-reversing-url-namespaces>`.
.. admonition:: Make sure your views are all correct .. admonition:: Make sure your views are all correct.
As part of working out which URL names map to which patterns, the As part of working out which URL names map to which patterns, the
``reverse()`` function has to import all of your URLconf files and examine ``reverse()`` function has to import all of your URLconf files and examine