소스 검색

Fixed typos in documentation.

Baptiste Mispelon 11 년 전
부모
커밋
366bdc4566
4개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      docs/ref/class-based-views/generic-date-based.txt
  2. 1 1
      docs/ref/contrib/gis/commands.txt
  3. 1 1
      docs/ref/databases.txt
  4. 1 1
      docs/ref/models/fields.txt

+ 1 - 1
docs/ref/class-based-views/generic-date-based.txt

@@ -611,7 +611,7 @@ DateDetailView
 .. note::
 
     All of the generic views listed above have matching ``Base`` views that
-    only differ in that the they do not include the
+    only differ in that they do not include the
     :class:`~django.views.generic.detail.SingleObjectTemplateResponseMixin`:
 
     .. class:: BaseArchiveIndexView

+ 1 - 1
docs/ref/contrib/gis/commands.txt

@@ -66,7 +66,7 @@ of using ``ogrinspect`` :ref:`in the tutorial <ogrinspect-intro>`.
 .. django-admin-option:: --name-field <name_field>
 
    Generates a ``__unicode__`` routine (``__str__`` on Python 3) on the model
-   that will return the the given field name.
+   that will return the given field name.
 
 .. django-admin-option:: --no-imports
 

+ 1 - 1
docs/ref/databases.txt

@@ -214,7 +214,7 @@ indexing and searching until MySQL 5.6.4.
 
 Since MySQL 5.5.5, the default storage engine is InnoDB_. This engine is fully
 transactional and supports foreign key references. It's probably the best
-choice at this point. However, note that the the InnoDB autoincrement counter
+choice at this point. However, note that the InnoDB autoincrement counter
 is lost on a MySQL restart because it does not remember the
 ``AUTO_INCREMENT`` value, instead recreating it as "max(id)+1". This may
 result in an inadvertent reuse of :class:`~django.db.models.AutoField` values.

+ 1 - 1
docs/ref/models/fields.txt

@@ -1325,7 +1325,7 @@ related. This works exactly the same as it does for :class:`ForeignKey`,
 including all the options regarding :ref:`recursive <recursive-relationships>`
 and :ref:`lazy <lazy-relationships>` relationships.
 
-If you do not specify the the :attr:`~ForeignKey.related_name` argument for
+If you do not specify the :attr:`~ForeignKey.related_name` argument for
 the ``OneToOneField``, Django will use the lower-case name of the current model
 as default value.