From 7882c3a67377de7eed7f52a0b91a0a12b2e32655 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Fri, 31 May 2013 10:16:06 +0200 Subject: [PATCH] Fixed #20511 -- Corrected link about isolation levels in databases docs Thanks tinodb for the report. --- docs/ref/databases.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt index b189f4f5f0..4923e4b177 100644 --- a/docs/ref/databases.txt +++ b/docs/ref/databases.txt @@ -141,10 +141,9 @@ Isolation level .. versionadded:: 1.6 Like PostgreSQL itself, Django defaults to the ``READ COMMITTED`` `isolation -level `_. If you need a higher isolation level -such as ``REPEATABLE READ`` or ``SERIALIZABLE``, set it in the -:setting:`OPTIONS` part of your database configuration in -:setting:`DATABASES`:: +level`_. If you need a higher isolation level such as ``REPEATABLE READ`` or +``SERIALIZABLE``, set it in the :setting:`OPTIONS` part of your database +configuration in :setting:`DATABASES`:: 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 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 --------------------------------------------