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:
parent
7ff5580d95
commit
a56e47400f
|
@ -4,7 +4,7 @@ Database access optimization
|
|||
|
||||
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
|
||||
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.
|
||||
|
||||
Profile first
|
||||
|
|
|
@ -363,8 +363,7 @@ attributes:
|
|||
``'image/jpeg'``.
|
||||
|
||||
``content_length`` is the length of the image given by the browser.
|
||||
Sometimes this won't be provided and will be ``None``., ``None``
|
||||
otherwise.
|
||||
Sometimes this won't be provided and will be ``None``.
|
||||
|
||||
``charset`` is the character set (i.e. ``utf8``) given by the browser.
|
||||
Like ``content_length``, this sometimes won't be provided.
|
||||
|
|
|
@ -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
|
||||
: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
|
||||
``reverse()`` function has to import all of your URLconf files and examine
|
||||
|
|
Loading…
Reference in New Issue