浏览代码

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
Gabriel Hurley 14 年之前
父节点
当前提交
a56e47400f
共有 3 个文件被更改,包括 3 次插入4 次删除
  1. 1 1
      docs/topics/db/optimization.txt
  2. 1 2
      docs/topics/http/file-uploads.txt
  3. 1 1
      docs/topics/http/urls.txt

+ 1 - 1
docs/topics/db/optimization.txt

@@ -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

+ 1 - 2
docs/topics/http/file-uploads.txt

@@ -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.

+ 1 - 1
docs/topics/http/urls.txt

@@ -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