From 7c6630920eb5a755ad1c12ea999f729cc7d9b7d0 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 8 Sep 2012 15:20:27 -0400 Subject: [PATCH] [1.4.x] Fixed some broken links in 1.4 docs --- docs/intro/whatsnext.txt | 2 ++ docs/ref/forms/validation.txt | 2 ++ docs/topics/auth.txt | 2 +- docs/topics/db/transactions.txt | 4 ++-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/intro/whatsnext.txt b/docs/intro/whatsnext.txt index 759a374651..cc793c8129 100644 --- a/docs/intro/whatsnext.txt +++ b/docs/intro/whatsnext.txt @@ -191,6 +191,8 @@ You can get a local copy of the HTML documentation following a few easy steps: __ http://sphinx.pocoo.org/ __ http://www.gnu.org/software/make/ +.. _differences-between-doc-versions: + Differences between versions ============================ diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt index 42006bba90..85b94f87a5 100644 --- a/docs/ref/forms/validation.txt +++ b/docs/ref/forms/validation.txt @@ -1,3 +1,5 @@ +.. _form-and-field-validation: + Form and field validation ========================= diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt index cb43d80c4a..35777d075e 100644 --- a/docs/topics/auth.txt +++ b/docs/topics/auth.txt @@ -1473,7 +1473,7 @@ Applying permissions to generic views ------------------------------------- To apply a permission to a :doc:`class-based generic view -`, decorate the :meth:`View.dispatch +`, decorate the :meth:`View.dispatch ` method on the class. See :ref:`decorating-class-based-views` for details. diff --git a/docs/topics/db/transactions.txt b/docs/topics/db/transactions.txt index 7be45add33..4f9936f82b 100644 --- a/docs/topics/db/transactions.txt +++ b/docs/topics/db/transactions.txt @@ -54,8 +54,6 @@ The various cache middlewares are an exception: Even when using database caching, Django's cache backend uses its own database cursor (which is mapped to its own database connection internally). -.. _transaction-management-functions: - .. note:: The ``TransactionMiddleware`` only affects the database aliased @@ -63,6 +61,8 @@ database cursor (which is mapped to its own database connection internally). multiple databases and want transaction control over databases other than "default", you will need to write your own transaction middleware. +.. _transaction-management-functions: + Controlling transaction management in views ===========================================