Commit 366bdc45 authored by Baptiste Mispelon's avatar Baptiste Mispelon
Browse files

Fixed typos in documentation.

parent 3c483221
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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
Original line number Diff line number Diff line
@@ -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.