Fixed #20511 -- Corrected link about isolation levels in databases docs

Thanks tinodb for the report.
This commit is contained in:
Claude Paroz 2013-05-31 10:16:06 +02:00
parent 3d883e8bd9
commit 7882c3a673
1 changed files with 4 additions and 5 deletions

View File

@ -141,10 +141,9 @@ Isolation level
.. versionadded:: 1.6 .. versionadded:: 1.6
Like PostgreSQL itself, Django defaults to the ``READ COMMITTED`` `isolation Like PostgreSQL itself, Django defaults to the ``READ COMMITTED`` `isolation
level <postgresql-isolation-levels>`_. If you need a higher isolation level level`_. If you need a higher isolation level such as ``REPEATABLE READ`` or
such as ``REPEATABLE READ`` or ``SERIALIZABLE``, set it in the ``SERIALIZABLE``, set it in the :setting:`OPTIONS` part of your database
:setting:`OPTIONS` part of your database configuration in configuration in :setting:`DATABASES`::
:setting:`DATABASES`::
import psycopg2.extensions import psycopg2.extensions
@ -161,7 +160,7 @@ such as ``REPEATABLE READ`` or ``SERIALIZABLE``, set it in the
handle exceptions raised on serialization failures. This option is handle exceptions raised on serialization failures. This option is
designed for advanced uses. designed for advanced uses.
.. _postgresql-isolation-levels: http://www.postgresql.org/docs/current/static/transaction-iso.html .. _isolation level: http://www.postgresql.org/docs/current/static/transaction-iso.html
Indexes for ``varchar`` and ``text`` columns Indexes for ``varchar`` and ``text`` columns
-------------------------------------------- --------------------------------------------